mirror of
https://github.com/actualbudget/actual.git
synced 2026-07-26 02:43:26 -05:00
SQLite accepts null as a bound parameter (verifyParamTypes already allowed it at runtime), but the runQuery/all/first/firstSync/run signatures only declared string | number, forcing callers to cast. Extract a shared SqlParam type (string | number | null) from the sqlite platform modules and use it everywhere. Adds a test covering null params through all/first. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
130 B
130 B
category, authors
| category | authors | |
|---|---|---|
| Maintenance |
|
Allow null in database query parameter types via a shared SqlParam type