mirror of
https://github.com/dg/dibi.git
synced 2025-08-04 13:17:58 +02:00
Documentation: Added %N identifier (#330)
This commit is contained in:
@@ -161,6 +161,7 @@ In addition to the `?` wild char, we can also use modifiers:
|
|||||||
| %d | date (accepts DateTime, string or UNIX timestamp)
|
| %d | date (accepts DateTime, string or UNIX timestamp)
|
||||||
| %dt | datetime (accepts DateTime, string or UNIX timestamp)
|
| %dt | datetime (accepts DateTime, string or UNIX timestamp)
|
||||||
| %n | identifier, ie the name of the table or column
|
| %n | identifier, ie the name of the table or column
|
||||||
|
| %N | identifier, treats period as a common character, ie alias or a database name (`%n AS %N` or `DROP DATABASE %N`)
|
||||||
| %SQL | SQL - directly inserts into SQL (the alternative is Dibi\Literal)
|
| %SQL | SQL - directly inserts into SQL (the alternative is Dibi\Literal)
|
||||||
| %ex | SQL expression or array of expressions
|
| %ex | SQL expression or array of expressions
|
||||||
| %lmt | special - adds LIMIT to the query
|
| %lmt | special - adds LIMIT to the query
|
||||||
|
Reference in New Issue
Block a user