Skip to main content
Version: Next

EmbeddableOptions <Owner>

Index

Properties

optionalabstract

abstract?: boolean

optionalconstructorParams

constructorParams?: (Owner extends EntityClass<P> ? keyof P : string)[]

Specify constructor parameters to be used in em.create or when forceConstructor is enabled. Those should be names of declared entity properties in the same order as your constructor uses them. The ORM tries to infer those automatically, use this option in case the inference fails.

optionaldiscriminatorColumn

discriminatorColumn?: AnyString | (Owner extends EntityClass<P> ? keyof P : string)

optionaldiscriminatorMap

discriminatorMap?: Dictionary<string>

optionaldiscriminatorValue

discriminatorValue?: string | number