@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
onCreatehooks are normally executed duringflushoperation. With this option, they will be processed early insideem.create()method.