D 2014-07-27T16:21:08.903 L db N text/x-markdown P 479271f818667534622ec4a99c11f35a2172c48f U mario W 3785
| List params | Expanded | Usage |
|---|---|---|
? | ? | A single scalar value (as in PDO). |
?? | ?, ?, ? | List of scalars. |
| Named params | ||
:name | :name | Named parameter (as in PDO). |
:: | :a, :b, :c | Extracts named array into list of named placeholders. |
:& | `x`=:x AND `y`=:y | Named column = :param comparison conjoined with AND. |
:| | `x`=:x OR `y`=:y | Named Named column = :param comparison conjoined with OR. |
:, | `x`=:x, `y`=:y | Named column=:param list, typically for INSERT statements. |
| Identifiers | ||
?: | `a`, `b`, `c` | Expands array key names into escaped column identifier list. |
| Expressions | ||
:* | SQL and args | Takes a list of SQL+parameter pairs. Only interpolates the SQL if the array is non-empty. Allows to nest expressions and complex parameters. |