We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to update a row in a PostgreSQL table with the following code:
(def data {:foo/bar 1}) (-> (helpers/update :user) (helpers/set data) (helpers/where [:= :user/id id]) (helpers/returning :*) (sql/format {:dialect :ansi}))
The above query will fail because:
... SET "foo"."bar" = 1 ...
SET
There should be a way to disable inclusion of table name in SET clause for PostgreSQL, or this should be handled by default.
The text was updated successfully, but these errors were encountered:
Fixes #317 by dropping qualifier in :set clause
06f25ed
You can either use a :git/url dep with :sha "06f25ed2e3f96abce4920feca6034f954e138277" or wait for the next alpha build.
:git/url
:sha "06f25ed2e3f96abce4920feca6034f954e138277"
Sorry, something went wrong.
Will do. Thanks :)
seancorfield
No branches or pull requests
Context
I'm trying to update a row in a PostgreSQL table with the following code:
Problem
The above query will fail because:
... SET "foo"."bar" = 1 ...
, andSET
clause.Expected behaviour
There should be a way to disable inclusion of table name in
SET
clause for PostgreSQL, or this should be handled by default.The text was updated successfully, but these errors were encountered: