MCPcopy Create free account
hub / github.com/mikro-orm/mikro-orm / afterTransactionRollback

Method afterTransactionRollback

tests/issues/GH1175.test.ts:31–34  ·  view source on GitHub ↗
(args: TransactionEventArgs)

Source from the content-addressed store, hash-verified

29 }
30
31 async afterTransactionRollback(args: TransactionEventArgs) {
32 const { em } = args;
33 this.pendingActions.delete(em);
34 }
35
36 async afterCreate(args: EventArgs<any>) {
37 const { em } = args;

Callers

nothing calls this directly

Calls 1

deleteMethod · 0.65

Tested by

no test coverage detected