Vladislav
06/26/2022, 2:35 PMUnsupported in schema then it is not possible to use create method. So I am using $queryRaw . But I can't understand what should I do with cuid, createdAt, updatedAt. I should install cuid lib and generate cuid manually or it can be done somehow inside?nikolasburk
I should install cuid lib and generate cuid manually or it can be done somehow inside?That’s probably the best approach indeed 👍
but as I see if I useNot sure what exactly your schema looks like, but if thein schema then it is not possible to useUnsupportedmethodcreate
Unsupported columns are optional you could create a new record with Prisma Client where these values aren’t set and then send a raw query to update the record immediately afterwards.
Does this help? 🙂