Also Prisma's errors for queryRaw are super opaque, all you get is a generic error code and the row that failed? Really tough to figure out whether, for example, you can pass a date value as an argument to queryRaw.
r
Ryan
10/29/2021, 7:01 AM
@Tom MacWright 👋
Were you getting an error while passing a date object?
t
Tom MacWright
10/29/2021, 9:07 PM
the errors ended up being for a number of reasons - I wasn't passing
updatedAt
, so that field was failing as non-nullable
👍 1
Tom MacWright
10/29/2021, 9:07 PM
and I was passing a jsonb column's data as a parameter to executeRaw, and needed to do