Skip to content

Add template string tags#15

Open
Myhlamaeus wants to merge 6 commits intomysqljs:masterfrom
Myhlamaeus:feature/tags
Open

Add template string tags#15
Myhlamaeus wants to merge 6 commits intomysqljs:masterfrom
Myhlamaeus:feature/tags

Conversation

@Myhlamaeus
Copy link

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

Add tags:
- escapeId
- escapeIdForbidQualified
- escapeWithOptions (allows specifying arguments to SqlString.escape)
- escape
- escapeStringifyObjects
- generateFormatFunctionWithOptions (allows specifying arguments to
  SqlString.escapeId)
- generateFormatFunction
- generateFormatFunctionForbidQualified
@TehShrike
Copy link

This seems out of scope for this library - template tag escaping using sqlstring is already implemented elsewhere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants