ea813802252363106c93ce4e9df75cb9778b2581
Prisma $queryRaw template literal interpolation fails when Date objects are passed directly and Date.prototype.toJSON is overridden (returns local time string instead of UTC ISO). MySQL driver receives a nested JSON object instead of a flat parameter array. Fix: convert monthStart/monthEnd to strings via toJSON() before interpolating into the $queryRaw template literal. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Description
No description provided