Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Commit

Permalink
fix(cacheMethods): add executeRawUnsafe too for compatibility
Browse files Browse the repository at this point in the history
As mentioned in the issue, I'm not sure if Prisma v4 params.action is executeRaw even on executeRawUnsafe. For compatibility, let's add both
  • Loading branch information
Hazmi35 authored and Asjas committed Dec 3, 2023
1 parent 983ac97 commit e6ed17b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cacheMethods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ export const defaultMutationMethods: PrismaMutationAction[] = [
"delete",
"deleteMany",
"executeRaw",
"executeRawUnsafe"
];

0 comments on commit e6ed17b

Please sign in to comment.