-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support FROM clause in UpdateBuilder #82
Comments
We have a few scenarios where this would be helpful like when we have a large number of rows that we know the exact values to update. We're right now constructing this query ourselves I'm happy to open a pr adding support for this, but just wanted to make sure it's something that will be accepted/there's interest for before doing the work also just want to say we love the lib! |
I've generally tried to avoid dialect-specific methods, but since there isn't a good way to work around this one I'd accept a new UpdateBuilder From method here. |
Why is this issue closed? There is a PR but it is still open. |
Any update on this? |
Any updates on this? |
Any update on this? The issue is closed, but the PR is open 😓 |
[Masterminds#82] Added FROM clause to update builder (Masterminds#256)
[Masterminds#82] Added FROM clause to update builder (Masterminds#256)
Trying to construct an update statement like the following in squirrel is proving impossible:
I think UpdateBuilder should support a FROM clause to be able to leverage the abilities of postgres updates syntax: https://www.postgresql.org/docs/current/static/sql-update.html
The text was updated successfully, but these errors were encountered: