File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -236,6 +236,19 @@ $driver->queryAll($sql, ['status' => 1]);
236236
237237This is useful when you want to explicitly query for ` NULL ` values vs. omitting the condition entirely.
238238
239+ #### Quick Reference Cheat Sheet
240+
241+ | Type | Scalar | Nullable | Array | Nullable Array |
242+ | ------| --------| ----------| -------| ----------------|
243+ | ** Any** | ` ? ` | ` ?n ` | — | — |
244+ | ** Integer** | ` ?i ` | ` ?ni ` | ` ?ia ` | ` ?nia ` |
245+ | ** Unsigned Int** | ` ?u ` | ` ?nu ` | ` ?ua ` | ` ?nua ` |
246+ | ** Decimal** | ` ?d ` | ` ?nd ` | ` ?da ` | ` ?nda ` |
247+ | ** Unsigned Dec** | ` ?ud ` | ` ?nud ` | ` ?uda ` | ` ?nuda ` |
248+ | ** String** | ` ?s ` | ` ?ns ` | ` ?sa ` | ` ?nsa ` |
249+
250+ ** Named syntax** : Add ` ! ` before suffix: ` $id!i ` , ` :name!s ` , ` $prices!uda `
251+
239252---
240253
241254### Painless ` IN (?) ` / ` NOT IN (?) ` clauses expansion and collapse
You can’t perform that action at this time.
0 commit comments