@mikro-orm/coreInterfacesVersion: NextOn this pageGetReferenceOptions Options for em.getReference(), controlling wrapping and type conversion.Index PropertiesconvertCustomTypeskeyschemawrappedProperties optionalconvertCustomTypesconvertCustomTypes?: booleanoptionalkeykey?: stringProperty name to use for identity map lookup instead of the primary key. This is useful for creating references by unique non-PK properties.optionalschemaschema?: stringoptionalwrappedwrapped?: boolean
Options for
em.getReference(), controlling wrapping and type conversion.