query-builder
Here are 657 public repositories matching this topic...
-
Updated
Apr 2, 2022 - C#
-
Updated
Jan 5, 2019 - JavaScript
-
Updated
Oct 28, 2018 - PHP
For eg. '==' tooltip as "Equals", 'Like' tooltip as "Contains", etc
-
Updated
Mar 3, 2022 - PHP
-
Updated
Mar 20, 2022 - TypeScript
-
Updated
Mar 21, 2022 - PHP
It would be nice if there was a new clause which can be added to queries called callback
.
For example:
def callback_handler(success, value):
if success:
print(f'The query was successful and returned {value}')
else:
print("The query failed")
Band.select().callback(callback_handler).run_sync()
The callback could be a function or coroutine, wh
-
Updated
Mar 8, 2022 - PHP
-
Updated
May 11, 2021 - JavaScript
-
Updated
Mar 27, 2022 - C#
-
Updated
Mar 31, 2022 - TypeScript
-
Updated
Apr 13, 2020 - Java
-
Updated
Feb 22, 2022 - PHP
-
Updated
Feb 28, 2022 - JavaScript
The .returning()
function currently only supports strings (which should be the target table's column names). In reality they can accept any expression and (returning) query.
This should be supported:
insert into bar (val) values (123) returning (select count(*) from bar), id, val || 'test'
which would equate to something like:
db.insertInto(bar).values({ val: 123 })
-
Updated
Feb 24, 2022 - JavaScript
-
Updated
Feb 4, 2022 - PHP
-
Updated
Mar 12, 2022 - C#
-
Updated
Feb 17, 2022 - PHP
Summary
Implement the sqlx::IntoArguments
trait for sea_query::Values
, for the various DB types (sqlite, posgres, ...)
Motivation
When writing injection-free code with sqlx, the best would be to write in this style:
let (query, values) = Query::select()
...
.cond_where(Expr::col(Users::UserId).eq(user_i
-
Updated
Feb 26, 2022 - JavaScript
-
Updated
Mar 16, 2022 - Go
-
Updated
Mar 31, 2022 - PHP
-
Updated
Mar 23, 2022 - C#
-
Updated
Mar 24, 2022 - JavaScript
Improve this page
Add a description, image, and links to the query-builder topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the query-builder topic, visit your repo's landing page and select "manage topics."
Original issue:
diesel-rs/diesel#3032
Relevant PRs:
diesel-rs/diesel#3035
diesel-rs/diesel#3036
diesel-rs/diesel#3037
diesel-rs/diesel#3092