classSqliteQuoting
final class SqliteQuoting
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Encodes chosen text using SQLite quoting rules, independently of generation.
Methods§
public static function identifier(string $body): stringQuotes an identifier and escapes embedded delimiters.
Parameters
$body | string |
Returns
stringTest cases 1
Calls 1
- function-call
str_replaceline 19
public static function stringLiteral(string $body): stringQuotes a string body and doubles embedded single quotes.
Parameters
$body | string |
Returns
stringTest cases 1
Calls 1
- function-call
str_replaceline 27
public static function backtickIdentifier(string $body): stringQuotes an identifier with backticks and doubles embedded backticks.
Parameters
$body | string |
Returns
stringTest cases 1
Calls 1
- function-call
str_replaceline 35
public static function bracketIdentifier(string $body): stringEncloses an identifier in brackets, removing unrepresentable closing brackets.
Parameters
$body | string |
Returns
stringTest cases 1
Calls 1
- function-call
str_replaceline 43
Test cases 5§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 4
Other tests reaching this symbol 1
LexicalGrammarTestcalls