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 committed Dec 3, 2023
1 parent b9b84f4 commit 2b3efdf
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 2b3efdf

Please sign in to comment.