Crawl
Crawl
PPrisma
Created by Crawl on 9/28/2024 in #help-and-questions
.update return null when data is found using .findUnique using the same where clause (version 5.17.
So my recommendation would be to avoid using raw query for input data at all cost
6 replies
PPrisma
Created by Crawl on 9/28/2024 in #help-and-questions
.update return null when data is found using .findUnique using the same where clause (version 5.17.
I ended up finding the issue Basically our schema was not applied correctly because we were using raw queries (create) in one tiny area in the code base causing thoses records to not complie at all with the prisma schema, even if we used the same data type etc.. For prisma they dont exist even thought they are here
6 replies
PPrisma
Created by Crawl on 9/28/2024 in #help-and-questions
.update return null when data is found using .findUnique using the same where clause (version 5.17.
@🔨 Moderator @aqrln @Jon Harrell Would love to get your thoughts on this puzzle Been using prisma for 2 years now, and first time not being able to understand this issue
6 replies