Files
actual/upcoming-release-notes/allow-null-sql-query-params.md
134e11b705 [AI] Allow null in SQL query parameter types via shared SqlParam type (#8493)
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>
2026-07-17 07:24:57 +00:00

7 lines
130 B
Markdown

---
category: Maintenance
authors: [MatissJanis]
---
Allow `null` in database query parameter types via a shared `SqlParam` type