Тоше
06/02/2021, 4:06 PMMatt Mueller (Prisma Client PM)
prisma.user.create({
data: {
created_at: new Date("0000-00-00")
}
})
?Тоше
06/02/2021, 4:33 PMfindMany()` invocation:\n\n\n Value out of range for the type. The column `DOB` contained an invalid datetime value with either day or month set to zero.",
this error is being thrown which kills the current query. Tried overriding it with a custom scalar that would return null in this case, but no luck. Its a specific case with mysql/mariadb supporting this datesMatt Mueller (Prisma Client PM)
Matt Mueller (Prisma Client PM)
Тоше
06/02/2021, 5:19 PM