Prisma v6.7.0+ queryCompiler feature introduces widespread data corruption and parsing bugs

9/10 Critical

The recently released queryCompiler feature in Prisma 6.7.0+ has introduced critical bugs affecting data integrity: JSONB columns return empty objects, String[] fields are returned as comma-separated strings instead of arrays, date fields become empty objects, and relations with @map fail to parse. Multiple users report broken functionality across PostgreSQL, D1 (SQLite), and other databases.

Category
compatibility
Workaround
none
Stage
build
Freshness
worsening
Scope
single_lib
Upstream
open
Recurring
Yes
Buyer Type
team
Maintainer
active

Sources

Collection History

Query: “What are the most common pain points with Prisma for developers in 2025?4/4/2026

[queryCompiler] undefined _count value when counting relations... [6.7.0] queryCompiler with pg has any retrieval of fields with dates be an empty object... String[] fields are returned as comma-separated strings (e.g., "a,b,c") instead of proper arrays ([a, b, c])... JSONB column not being parsed with queryCompiler... Query compiler cannot handle join on columns with @map defined

Created: 4/4/2026Updated: 4/4/2026