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
It would be awesome if we could configure what character acts as the identifiying char for the named attribute.
So instead of using : allow the usage of e.g. @
SELECT * FROM something WHERE id = :id
SELECT * FROM something WHERE id = @id
I want to utilize prepared statements in https://github.com/sidorares/node-mysql2 via .execute in combination with named parameters. Currently all of our code bases uses @ parameters in combination with .query and a custom queryFormat function that replaces these with the actual values.
The text was updated successfully, but these errors were encountered:
It would be awesome if we could configure what character acts as the identifiying char for the named attribute.
So instead of using
:
allow the usage of e.g.@
SELECT * FROM something WHERE id = :id
SELECT * FROM something WHERE id = @id
I want to utilize prepared statements in https://github.com/sidorares/node-mysql2 via
.execute
in combination with named parameters. Currently all of our code bases uses@
parameters in combination with.query
and a customqueryFormat
function that replaces these with the actual values.The text was updated successfully, but these errors were encountered: