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

Method beforeUpdate

tests/issues/GH493.test.ts:20–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18
19 @BeforeUpdate()
20 async beforeUpdate() {
21 await wrap(this, true).__em!.flush();
22 }
23
24 @BeforeDelete()
25 async beforeDelete() {

Callers

nothing calls this directly

Calls 2

wrapFunction · 0.50
flushMethod · 0.45

Tested by

no test coverage detected