Files
bun.sh/test/js/sql
Claude Bot 5d661a4487 fix(sql): return JS number for PostgreSQL bigint values within safe integer range
When the `bigint` option is not set (the default), PostgreSQL int8/bigint
values that fit within Number.MAX_SAFE_INTEGER (±2^53-1) are now returned
as JavaScript numbers instead of strings. Values outside that range continue
to be returned as strings to avoid precision loss. This makes common
operations like COUNT(*) return numbers as users expect.

Fixes #22188

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-14 23:48:15 +00:00
..
2025-08-19 23:15:53 -07:00
2025-08-01 22:41:05 -07:00