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

sql-bricks reserved words should come from spec & should be easy to override #116

Open
prust opened this issue Apr 4, 2020 · 0 comments

Comments

@prust
Copy link
Collaborator

prust commented Apr 4, 2020

Currently the reserved words in sql-bricks is a union of those from SQLite and from Postgres. Instead, they should be derived from the spec and should be overridden in the vendor-specific extensions.

Also, it seems like it would be nice if the reserved words were easy to override and if the auto-quote-if-they-have-caps rule was easy to enable/disable. Or we should just expose the autoQuote function, so it can be overridden (currently it looks like we expose the autoQuote function, but we don't use that reference, so users are not able to actually override it).

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

1 participant