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 have a Postgres query which looks like this:
-- :name add-thing :<! :1 update things set count = count + 1 where id = :id returning count;
It works fine, but when I try to make the query fn private (i.e., using :name-), it ignores the :1 and treats the result value as :raw.
:name-
:1
:raw
The text was updated successfully, but these errors were encountered:
fix command & result being ignored by private fns (issue #32)
52dfa4e
Nice catch--definitely a bug. I've fixed this in master and it will roll in the next release. Thanks for the report!
Sorry, something went wrong.
This is released in 0.4.6. Please confirm that it fixes the issue for you. Thanks!
Works great, thanks!
No branches or pull requests
I have a Postgres query which looks like this:
It works fine, but when I try to make the query fn private (i.e., using
:name-
), it ignores the:1
and treats the result value as:raw
.The text was updated successfully, but these errors were encountered: