Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels