Prisma v6.7.0+ queryCompiler feature introduces widespread data corruption and parsing bugs
9/10 CriticalThe 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.
Collection History
[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