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

Commit e6ed17b

Browse files
Hazmi35Asjas
authored andcommitted
fix(cacheMethods): add executeRawUnsafe too for compatibility
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
1 parent 983ac97 commit e6ed17b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cacheMethods.ts

+1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ export const defaultMutationMethods: PrismaMutationAction[] = [
2020
"delete",
2121
"deleteMany",
2222
"executeRaw",
23+
"executeRawUnsafe"
2324
];

0 commit comments

Comments
 (0)