Column name for materialized paths.
可选nameNaming strategy name.
Column names for nested sets.
Gets the name of the check constraint.
"isEnum" parameter is used to indicate if this check constraint used to handle "simple-enum" type for databases that are not supporting "enum" type out of the box. If "true", constraint is ignored during CHECK constraints synchronization.
可选isEnum: booleanCreates a table name for a junction table of a closure table.
Name of the closure table which owns this junction table.
Gets the table's default constraint name from the given table name and column name.
Gets the name of the join column used in the one-to-one and many-to-one relations.
Columns in join tables can have duplicate names in case of self-referencing. This method provide a resolution for such column names.
Gets the name of the column used for columns in the junction tables.
The reverse?:boolean parameter denotes if the joinTableColumnName is called for the junctionColumn (false) or the inverseJunctionColumns (true)
可选columnName: stringGets the name of the column used for columns in the junction tables from the invers side of the relationship.
可选columnName: stringGets the name of the join table used in the many-to-many relations.
Adds globally set prefix to the table name. This method is executed no matter if prefix was set or not. Table name is either user's given table name, either name generated from entity target. Note that table name comes here already normalized by #tableName method.
Gets the table's primary key name from the given table name and column names.
Gets the relation constraint (UNIQUE or UNIQUE INDEX) name from the given table name, column names and WHERE condition, if UNIQUE INDEX used.
可选where: stringGets the table's relation name from the given property name.
Normalizes table name.
Name of the target entity that can be used to generate a table name.
For example if user specified a table name in a decorator, e.g. @Entity("name")
Gets the table's unique constraint name from the given table name and column names.
Naming strategy defines how auto-generated names for such things like table name, or table column gonna be generated.