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

remove quotemarks: PostgreSQL case sensitivity (& msSQL compatability) #392

Open
Justus-Maier opened this issue Mar 23, 2018 · 0 comments
Open

Comments

@Justus-Maier
Copy link

The legacy database im using exists in postgres and mssql variants, the postgre db has everything lowercased, while the tables in the mssql db have also some capital letters.

  • MSSQL seems not to care about the casing of table and column names at all
  • PostgreSQL cares about casing, if quotemarks are used!
  • PostgreSQL uses 'public' schema, msSQL doesn't use one

Obviously I want to select one dialect and have it just work.
I'd like to keep using camel case, but since everything in the postgre db is lowercase, I have to use those names (moduleid, modulename), because querying without quotemarks is not possible?

Please help me to solve this properly, creating an abstraction over those sql dialects!

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

1 participant