Skip to content

Commit f3b9e13

Browse files
committed
docs(driver-sql): presentReadValue's numeric coercion runs on every dialect
The docblock still said the numeric coercion is SQLite-only, which the numeric-representation change had already made false and the aggregate presentation makes false a second time. Claude-Session: https://claude.ai/code/session_01Bvd69VPa6puiNzzPUroDBx Co-authored-by: Claude <noreply@anthropic.com>
1 parent 06349dc commit f3b9e13

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎packages/drivers/driver-sql/src/sql-driver.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15199,7 +15199,9 @@ export class SqlDriver implements IDataDriver {
1519915199
* the audit-stamp fold run everywhere (`datetime` and `audit_timestamp`
1520015200
* since #13973, [ADR-0053 D-F1] — the former SQLite-only and the latter
1520115201
* absent before, which handed the two live dialects' `Date` through), the
15202-
* numeric coercion is SQLite-only, and the boolean coercion runs on SQLite
15202+
* numeric coercion runs everywhere (#16318 for a declared numeric column;
15203+
* [#20335] for `aggregate()`'s counts and totals, `AGGREGATE_ANSWER_KIND`),
15204+
* and the boolean coercion runs on SQLite
1520315205
* and MySQL (#11782 — the two dialects whose stored boolean is a number).
1520415206
* {@link readPresentationKind} does the dialect gating for the scalar kinds,
1520515207
* so by the time one arrives here the dialect is settled.

0 commit comments

Comments
 (0)