sqlstring
sqlstring copied to clipboard
Add template string tags
Adds tags to be used with template strings. Some examples can be found in the README.
Add tags:
- escapeId
- escapeIdForbidQualified
- escapeWithOptions (allows specifying arguments to SqlString.escape)
- escape
- escapeStringifyObjects
- generateFormatFunctionWithOptions (allows specifying arguments to SqlString.escapeId)
- generateFormatFunction
- generateFormatFunctionForbidQualified
This seems out of scope for this library - template tag escaping using sqlstring is already implemented elsewhere