You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PrismaNeonHTTP adapter breaks on some types e.g. timestamp #25514
The PrismaNeon adapter uses custom type parsers to address this, but these are not used by the PrismaNeonHTTP adapter.
Use of the PrismaNeonHTTP adapter fails when encountering certain datatypes. e.g. timestamp (returned from the @neondatabase/serverless driver as a javascript Date object when Prisma expects a string)
Error: Inconsistent column data: Conversion failed: expected a string in column '<columnname>', found {}
or with simple $queryRaw
await prisma.$queryRaw`SELECT NOW()`
Raw query failed. Code: `N/A`. Message: `N/A`
How to reproduce
Use PrismaNeonHTTP adapter
Any query that returns an unsupported data type, e.g.
Activity