ManyToManyOptions <T, O>
Hierarchy
- ReferenceOptions<T, O>
- ManyToManyOptions
Index
Properties
- autoincrement
- cascade
- check
- columnType
- comment
- concurrencyCheck
- customOrder
- customType
- default
- defaultRaw
- eager
- entity
- extra
- fieldName
- fieldNames
- fixedOrder
- fixedOrderColumn
- formula
- getter
- hidden
- hydrate
- ignoreSchemaChanges
- index
- inverseJoinColumn
- inverseJoinColumns
- inversedBy
- joinColumn
- joinColumns
- lazy
- length
- mappedBy
- name
- nullable
- onCreate
- onUpdate
- orderBy
- owner
- persist
- pivotEntity
- pivotTable
- precision
- primary
- referenceColumnName
- referencedColumnNames
- scale
- serializedName
- serializedPrimaryKey
- serializer
- setter
- strategy
- trackChanges
- type
- unique
- unsigned
- version
Properties
optionalautoincrement
optionalcascade
optionalcheck
Specify column with check constraints. (Postgres driver only)
optionalcolumnType
Specify exact database column type for Generator. (SQL only)
optionalcomment
Specify comment of column for Generator. (SQL only)
optionalconcurrencyCheck
Set to true to enable Locking via concurrency fields.
optionalcustomOrder
Specify a custom order based on the values. (SQL only)
optionalcustomType
Explicitly specify the mapped type instance for this property.
optionaldefault
Specify default column value for Generator. This is a runtime value, assignable to the entity property. (SQL only)
optionaldefaultRaw
Specify SQL functions for Generator. (SQL only) Since v4 you should use defaultRaw for SQL functions. e.g. now()
optionaleager
optionalentity
optionalextra
mysql only
optionalfieldName
Specify database column name for this property.
optionalfieldNames
Specify database column names for this property.
Same as fieldName
but for composite FKs.
optionalfixedOrder
optionalfixedOrderColumn
optionalformula
Set to map some SQL snippet for the entity.
optionalgetter
Set true to define the properties as getter. (virtual)
optionalhidden
Set to true to omit the property when Serializing.
optionalhydrate
Set false to disable hydration of this property. Useful for persisted getters.
optionalignoreSchemaChanges
Set to avoid a perpetual diff from the Generator when columns are generated.
optionalindex
Explicitly specify index on a property.
optionalinverseJoinColumn
optionalinverseJoinColumns
optionalinversedBy
optionaljoinColumn
optionaljoinColumns
optionallazy
Set to omit the property from the select clause for lazy loading.
optionallength
Set length of database column, used for datetime/timestamp/varchar column types for Generator. (SQL only)
optionalmappedBy
optionalname
Alias for fieldName
.
optionalnullable
Set column as nullable for Generator.
optionalonCreate
Type declaration
Automatically set the property value when entity gets created, executed during flush operation.
Parameters
entity: O
Returns any
optionalonUpdate
Type declaration
Automatically update the property value every time entity gets updated, executed during flush operation.
Parameters
entity: O
Returns any
optionalorderBy
optionalowner
optionalpersist
Set false to define Property.
optionalpivotEntity
optionalpivotTable
optionalprecision
Set precision of database column to represent the number of significant digits. (SQL only)
optionalprimary
Set true to define entity’s unique primary key identifier.
Alias for @PrimaryKey()
decorator
optionalreferenceColumnName
optionalreferencedColumnNames
optionalscale
Set scale of database column to represents the number of digits after the decimal point. (SQL only)
optionalserializedName
Specify name of key for the serialized value.
optionalserializedPrimaryKey
Set to define serialized primary key for MongoDB. (virtual)
Alias for @SerializedPrimaryKey()
decorator.
optionalserializer
Type declaration
Set to use serialize property. Allow to specify a callback that will be used when serializing a property.
Parameters
value: any
Returns any
optionalsetter
Set true to define the properties as setter. (virtual)
optionalstrategy
optionaltrackChanges
Set false to disable change tracking on a property level.
optionaltype
Explicitly specify the runtime type.
optionalunique
Set column as unique for Generator. (SQL only)
optionalunsigned
Set column as unsigned for Generator. (SQL only)
optionalversion
Set to true to enable Locking via version field. (SQL only)
Explicitly specify the auto increment of the primary key.