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

Method getEntityFactory

packages/core/src/EntityManager.ts:2593–2595  ·  view source on GitHub ↗

* Gets the EntityFactory used by the EntityManager.

()

Source from the content-addressed store, hash-verified

2591 * Gets the EntityFactory used by the EntityManager.
2592 */
2593 getEntityFactory(): EntityFactory {
2594 return this.getContext().#entityFactory;
2595 }
2596
2597 /**
2598 * @internal use `em.populate()` as the user facing API, this is exposed only for internal usage

Callers 9

getReferenceMethod · 0.95
constructorMethod · 0.80
createMethod · 0.80
defineBasePropertiesMethod · 0.80
GH2647.test.tsFile · 0.80

Calls 1

getContextMethod · 0.95

Tested by

no test coverage detected