You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Accepts null and undefined in addition to the inner descriptor's
accepted values, and emits the bare SQL NULL literal when nullish.
Non-null values delegate to the inner descriptor's validate and
escape. The existing null-rejection path for non-nullable descriptors
is preserved with its dedicated error message.
`schema.nullable(inner)` accepts `null` / `undefined` in addition to whatever `inner` accepts, and emits the bare SQL `NULL` literal. Do not wrap the placeholder in quotes in your template, since `NULL` must be unquoted.
139
+
140
+
```sql
141
+
-- queries/updateLogin.sql
142
+
UPDATE {{table}} SET last_login = {{lastLogin}} WHERE id = {{id}}
0 commit comments