Skip to content
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

Add a way to escape identifiers #9

Closed
gajus opened this issue Jul 15, 2018 · 2 comments
Closed

Add a way to escape identifiers #9

gajus opened this issue Jul 15, 2018 · 2 comments

Comments

@gajus
Copy link
Owner

gajus commented Jul 15, 2018

Must avoid the likes of:

await connnection.query('GRANT SELECT ON ALL TABLES IN SCHEMA public TO "' + user + '"');
await connnection.query('GRANT EXECUTE ON ALL FUNCTIONS IN SCHEMA public TO "' + user + '"');
@sibelius
Copy link

https://github.com/calebmer/pg-sql

@gajus gajus closed this as completed in 12aa9e9 Jul 29, 2018
@gajus
Copy link
Owner Author

gajus commented Jul 29, 2018

🎉 This issue has been resolved in version 6.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants