I am using node-pg which support parametrized queries like this SELECT * FROM location WHERE name = $1 and then passing in an array for the parameters as a 2nd argument for the query function.
If I could change the delimiter from : to $ it would mean that I can freely move sql queries between my code and dadbod ui.
I couldn't find anything related to this after quickly glancing through the docs.
Is it something that's possible? If not I am happy to try and make the change.
I am using node-pg which support parametrized queries like this
SELECT * FROM location WHERE name = $1
and then passing in an array for the parameters as a 2nd argument for the query function.If I could change the delimiter from
:
to$
it would mean that I can freely move sql queries between my code and dadbod ui.I couldn't find anything related to this after quickly glancing through the docs. Is it something that's possible? If not I am happy to try and make the change.