Skip to content

Commit f5b2c90

Browse files
committed
README
1 parent 0b76878 commit f5b2c90

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,19 @@ $driver->queryAll($sql, ['status' => 1]);
236236

237237
This 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

0 commit comments

Comments
 (0)