Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
wrap
Function · 0.50
flush
Method · 0.45
Tested by
no test coverage detected