Skip to content

SQL_ESC_BACKSLASHES()

Synopsis

Escapes backslashes for use in SQL statements.

Since

16.26.0, 18.12.0, 19.4.0

Description

Used in SQL templates to escape data which may contain backslashes '\' which are otherwise used to escape data.

Example: Escape with backslashes example
SELECT foo FROM bar WHERE baz='${SQL_ESC(${SQL_ESC_BACKSLASHES(${ARG1})})}'

Syntax

SQL_ESC_BACKSLASHES(string)
Arguments
  • string

Generated Version

This documentation was generated from Asterisk branch 21 using version GIT