Sql final class
Minn\Query\Sql · public/minn/src/Minn/Query/Sql.php · 42 lines
Literal quoting for the SQL fragments the query classes hand to plugins, which embed them verbatim in their own statements.
Public
| static | quote(string $value): string# | A quoted string literal. | |||
| static | escape(string $value): string# | The reference's escaping: backslash, quotes, NUL, newlines, and the substitute character. | |||
| static | like(string $value): string# | A LIKE operand with its wildcards escaped; quote() afterwards. | |||
| static | list(array $values): string# | A comma list of quoted literals. | |||
| static | group(array $chunks, string $relation, int $depth): string# | Clauses joined as the reference joins them at every depth (probe query-clauses): wrapped in parentheses, each clause and the relation on its own line, indented two spaces a level.
|
Nothing matches.