-
Notifications
You must be signed in to change notification settings - Fork 7
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Error using a colon in Select As #22
Comments
Thanks for the compliment! |
My bad, that example does work fine. Here is corrected version that I just tested and can reproduce the error with.
The error I get is,
|
Thanks for the update. There was a bug concerning double quotes with a colon. This is now fixed in latest version (4.1.3). Thanks again for finding this! |
Thanks for making such an awesome library! I'm using yesql 4.2.1 and am trying to run a query with a colon in a "Select As" but get a missing value error. For example,
pg.query(named('SELECT :usercount AS "Number of users: ";')({usercount: 5}), (err, result) => {...})
Not sure if this is a bug or I need to be escaping the colon somehow. Thank you!
The text was updated successfully, but these errors were encountered: