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

problem with single + double qouted data before a named placeholder #28

Open
ofirmalka opened this issue May 12, 2024 · 0 comments
Open

Comments

@ofirmalka
Copy link

similar to #2 with single quotes around the double:

toUnnamed(`SELECT * FROM table WHERE col1 LIKE '%"abc"%' AND id = :id`, { id: 1 })
result: [ `SELECT * FROM table WHERE col1 LIKE '%"abc"%' AND id = :id`, [] ]

@ofirmalka ofirmalka changed the title problem with single + double qouted data after a named placeholder problem with single + double qouted data before a named placeholder May 12, 2024
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