query-builder
Here are 651 public repositories matching this topic...
-
Updated
Mar 9, 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 9, 2022 - TypeScript
-
Updated
Mar 14, 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
Feb 24, 2022 - C#
-
Updated
Apr 13, 2020 - Java
-
Updated
Mar 12, 2022 - TypeScript
-
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 22, 2022 - PHP
-
Updated
Feb 24, 2022 - JavaScript
-
Updated
Feb 4, 2022 - PHP
-
Updated
Mar 12, 2022 - C#
-
Updated
Feb 17, 2022 - PHP
-
Updated
Feb 26, 2022 - JavaScript
Summary
CREATE TABLE example (
values text[]
)
If I want to check if a value is in values, this is how i would write the SQL "raw".
SELECT values
FROM example
WHERE "boop" = any(values);
I looked around but didn't see a native way to express this. I ended up doing this instead:
Query:select()
.cond_where(
Expr::cust-
Updated
Nov 9, 2021 - Go
-
Updated
Jan 5, 2022 - PHP
-
Updated
Mar 2, 2022 - C#
-
Updated
Aug 11, 2021 - 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."
Diesel currently supports the postgres json and jsonb types. We do not provide built-in support for various operators available for these types. This is a tracking issue for adding support for these operators.
The general strategy for adding support for new operators is as following: