@mikro-orm/coreInterfacesVersion: NextOn this pageFactoryOptions Index PropertiesconvertCustomTypesinitializedmergenewEntityparentSchemaprocessOnCreateHooksEarlyrecomputeSnapshotrefreshschemaProperties optionalconvertCustomTypesconvertCustomTypes?: booleanoptionalinitializedinitialized?: booleanoptionalmergemerge?: booleanoptionalnewEntitynewEntity?: booleanoptionalparentSchemaparentSchema?: stringoptionalprocessOnCreateHooksEarlyprocessOnCreateHooksEarly?: booleanProperty onCreate hooks are normally executed during flush operation. With this option, they will be processed early inside em.create() method.optionalrecomputeSnapshotrecomputeSnapshot?: booleanoptionalrefreshrefresh?: booleanoptionalschemaschema?: string
Property
onCreate
hooks are normally executed duringflush
operation. With this option, they will be processed early insideem.create()
method.