We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 100051f commit e777754Copy full SHA for e777754
packages/runtime/src/client/plugin.ts
@@ -145,7 +145,8 @@ export type AfterEntityMutationCallback<Schema extends SchemaDef> = (
145
146
export type PluginBeforeEntityMutationArgs<Schema extends SchemaDef> = MutationHooksArgs<Schema> & {
147
/**
148
- * Loads the entities that are about to be mutated.
+ * Loads the entities that are about to be mutated. The db operation that loads the entities is executed
149
+ * within the same transaction context as the mutation.
150
*/
151
loadBeforeMutationEntities(): Promise<Record<string, unknown>[] | undefined>;
152
0 commit comments