Skip to content

Commit f8a1ddb

Browse files
committed
docs: mention Fqn as possible input for %column
1 parent a6e16ad commit f8a1ddb

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

docs/param-modifiers.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,19 @@ $connection->query('WHERE [roles.privileges] ?| ARRAY[%...s[]]', ['backend', 'fr
3939

4040
Other available modifiers:
4141

42-
| Modifier | Description |
43-
|------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
44-
| `%and` | AND condition |
45-
| `%or` | OR condition |
46-
| `%multiOr` | OR condition with multiple conditions in pairs |
47-
| `%values`, `%values[]` | expands array for INSERT clause, multi insert |
48-
| `%set` | expands array for SET clause |
49-
| `%table`, `%table[]` | escapes string as table name, may contain a database or schema name separated by a dot; surrounding parentheses are not added to `%table[]` modifier; `%table` supports also processing a `Nextras\Dbal\Platforms\Data\Fqn` instance. |
50-
| `%column`, `%column[]` | escapes string as column name, may contain a database name, schema name or asterisk (`*`) separated by a dot; surrounding parentheses are not added to `%column[]` modifier; |
51-
| `%ex` | expands array as processor arguments |
52-
| `%raw` | inserts string argument as is |
53-
| `%%` | escapes to single `%` (useful in `date_format()`, etc.) |
54-
| `[[`, `]]` | escapes to single `[` or `]` (useful when working with array, etc.) |
42+
| Modifier | Description |
43+
|------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
44+
| `%and` | AND condition |
45+
| `%or` | OR condition |
46+
| `%multiOr` | OR condition with multiple conditions in pairs |
47+
| `%values`, `%values[]` | expands array for INSERT clause, multi insert |
48+
| `%set` | expands array for SET clause |
49+
| `%table`, `%table[]` | escapes string as table name, may contain a database or schema name separated by a dot; surrounding parentheses are not added to `%table[]` modifier; `%table` supports formatting a `Nextras\Dbal\Platforms\Data\Fqn` instance. |
50+
| `%column`, `%column[]` | escapes string as column name, may contain a database name, schema name or asterisk (`*`) separated by a dot; surrounding parentheses are not added to `%column[]` modifier; `%table` supports formatting a `Nextras\Dbal\Platforms\Data\Fqn` instance. |
51+
| `%ex` | expands array as processor arguments |
52+
| `%raw` | inserts string argument as is |
53+
| `%%` | escapes to single `%` (useful in `date_format()`, etc.) |
54+
| `[[`, `]]` | escapes to single `[` or `]` (useful when working with array, etc.) |
5555

5656
Let's examine `%and` and `%or` behavior. If array key is numeric and its value is an array, value is expanded with `%ex` modifier. (See below.)
5757

0 commit comments

Comments
 (0)