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

Support case sensitive parsing #144

Closed
mitar opened this issue Nov 21, 2019 · 3 comments
Closed

Support case sensitive parsing #144

mitar opened this issue Nov 21, 2019 · 3 comments

Comments

@mitar
Copy link

mitar commented Nov 21, 2019

So by standard SQL queries are not case sensitive. But for me, this is problematic because I like to encode metadata information into database structures (like table names, column names, etc.) so that database introspection can work well. But then this means I have to quote all names all the time in all SQL queries.

So I would love if this package could support case sensitive parsing (and unparsing, #18). This could allow one to read (and rewrite) queries without changing the case.

I am mentioning this because as this package becomes more SQL standardized, it would be useful to keep some extensions available (like case sensitivity).

@benesch
Copy link
Contributor

benesch commented Nov 21, 2019

This package already preserves the case of identifiers. Do you have a specific example of something that doesn’t work for you?

@mitar
Copy link
Author

mitar commented Nov 22, 2019

Yes, but with other issues like #17 I would like just to make sure that this is a conscious decision to support and not something which disappears.

@benesch
Copy link
Contributor

benesch commented Nov 22, 2019 via email

@benesch benesch closed this as completed Nov 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants