EntitySchemaWithMeta <TName, TTableName, TEntity, TBase, TProperties, TClass>
Hierarchy
- EntitySchema<TEntity, TBase, TClass>
- EntitySchemaWithMeta
Index
Properties
readonlyname
readonlyproperties
readonlytableName
Accessors
inheritedclass
Returns Class
inheritedmeta
Returns EntityMetadata<Entity, Class>
Methods
inheritedaddEmbedded
Parameters
name: EntityKey<TEntity>
options: EmbeddedOptions<TEntity, Target>
Returns void
inheritedaddEnum
Parameters
name: EntityKey<TEntity>
optionaltype: TypeType
options: EnumOptions<TEntity> = {}
Returns void
inheritedaddIndex
Parameters
options: IndexOptions<TEntity, Key>
Returns void
inheritedaddManyToMany
Parameters
name: EntityKey<TEntity>
type: TypeType
options: ManyToManyOptions<TEntity, Target>
Returns void
inheritedaddManyToOne
Parameters
name: EntityKey<TEntity>
type: TypeType
options: ManyToOneOptions<TEntity, Target>
Returns void
inheritedaddOneToMany
Parameters
name: EntityKey<TEntity>
type: TypeType
options: OneToManyOptions<TEntity, Target>
Returns void
inheritedaddOneToOne
Parameters
name: EntityKey<TEntity>
type: TypeType
options: OneToOneOptions<TEntity, Target>
Returns void
inheritedaddPrimaryKey
Parameters
name: EntityKey<TEntity>
type: TypeType
options: PrimaryKeyOptions<TEntity> = {}
Returns void
inheritedaddProperty
Parameters
name: EntityKey<TEntity>
optionaltype: TypeType
options: PropertyOptions<TEntity> | EntityProperty<TEntity, any> = {}
Returns void
inheritedaddSerializedPrimaryKey
Parameters
name: EntityKey<TEntity>
type: TypeType
options: SerializedPrimaryKeyOptions<TEntity> = {}
Returns void
inheritedaddUnique
Parameters
options: UniqueOptions<TEntity, Key>
Returns void
inheritedaddVersion
Parameters
name: EntityKey<TEntity>
type: TypeType
options: PropertyOptions<TEntity> = {}
Returns void
inheritednew
Parameters
rest...params: ConstructorParameters<TClass>
Returns TEntity
inheritedsetClass
Parameters
cls: TClass
Returns void
inheritedsetCustomRepository
Parameters
repository: () => Constructor
Returns void
inheritedsetExtends
Parameters
base: EntityName
Returns void