prisma-engines
dd122f8c - fix: cast BigInt values to text in JSON aggregation for MySQL/Cockroach (#5752)

Commit
20 days ago
fix: cast BigInt values to text in JSON aggregation for MySQL/Cockroach (#5752) Closes #5751. ## Summary - Cast MySQL BigInt/UnsignedBigInt values to CHAR in JSON_OBJECT to preserve precision in JS JSON parsing. - Extend Postgres visitor to also cast Cockroach INT8/Int8 to text in JSONB_BUILD_OBJECT. - Add visitor tests for both cases.
Author
Parents
Loading