You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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`, [] ]
The text was updated successfully, but these errors were encountered:
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
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`, [] ]
The text was updated successfully, but these errors were encountered: