1
0
mirror of https://github.com/dg/dibi.git synced 2025-07-31 19:30:30 +02:00

Documentation: Added %N identifier (#330)

This commit is contained in:
Jiří Zralý
2019-04-16 21:50:55 +02:00
committed by David Grudl
parent 79f841ec90
commit 7e127f5914

View File

@@ -161,6 +161,7 @@ In addition to the `?` wild char, we can also use modifiers:
| %d | date (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, 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)
| %ex | SQL expression or array of expressions
| %lmt | special - adds LIMIT to the query