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 option to disable the double-quoted string literal misfeature by default #1153

Open
JesseChavez opened this issue Aug 5, 2024 · 1 comment
Labels

Comments

@JesseChavez
Copy link

Is your feature request related to a problem? Please describe.

It would be good to have a configuration property to disable the misfeature described in the title

Having this will disable undesired behaviour described by the SQLite creator in the following link

https://www.sqlite.org/quirks.html#double_quoted_string_literals_are_accepted

Here is a like of a specific undesired behaviour

rails/rails#27782

Describe the solution you'd like

Something we can pass in the connection url would be good.

e.g.

jdbc:sqlite:db.sqlite?strict_strings=true

Additional context

Here is a example how a configuration property was added to library that uses SQLite's C API.

sparklemotion/sqlite3-ruby#317

@gotson
Copy link
Collaborator

gotson commented Aug 19, 2024

can you explain what you are referring to by "the double-quoted string literal misfeature" ?

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

No branches or pull requests

2 participants