query-builder
Here are 662 public repositories matching this topic...
Original issue:
Relevant PRs:
diesel-rs/diesel#3035
diesel-rs/diesel#3036
diesel-rs/diesel#3037
diesel-rs/diesel#3092
-
Updated
Apr 22, 2022 - C#
-
Updated
Jan 5, 2019 - JavaScript
-
Updated
Oct 28, 2018 - PHP
For eg. '==' tooltip as "Equals", 'Like' tooltip as "Contains", etc
-
Updated
Apr 4, 2022 - PHP
-
Updated
May 11, 2022 - TypeScript
Brief description
We're running into an issue with this package - when our client goes to add/delete something on a BelongsToMany relation on the Product model, the list reloads but there's no change. I also see the same list in our site's frontend but the database is updated correctly.
Implementation
We're using this package on our Product model, relevant code below:
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
Apr 29, 2022 - PHP
-
Updated
May 11, 2021 - JavaScript
-
Updated
May 7, 2022 - C#
-
Updated
May 13, 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
May 11, 2022 - PHP
-
Updated
Mar 12, 2022 - C#
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 17, 2022 - PHP
-
Updated
Apr 29, 2022 - JavaScript
-
Updated
Apr 8, 2022 - Go
-
Updated
May 5, 2022 - PHP
-
Updated
Mar 18, 2022 - PHP
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."
Bug description
On windows, I run
prisma formatand note the unusual file ending. The lines are all LF, but the very last line is CRLF.This causes issue on my Linux CI where it formats it ending in LF's only, causing a diff to occur and the build to fail.
How to reproduce
![image](https://user-images.g