scala.slick.codegen.AbstractSourceCodeGenerator.TableDef
Scala code
Scala code
Name used in the db or a default name
Name used in the db or a default name
Adds one or more X to the end of the given string to avoid collisions with column names.
Adds one or more X to the end of the given string to avoid collisions with column names.
Scala doc comment
Scala doc comment
Scala doc comment with code
Indicates whether this will be included in the generated code
Indicates whether this will be included in the generated code
Returns Some(this) if enabled else None
Returns Some(this) if enabled else None
Name (escaped if colliding with Scala keyword).
Name (escaped if colliding with Scala keyword).
Name as desired in Scala Code.
Name as desired in Scala Code. (Allowed to collide with Scala keywords. Will be automatically escaped.)
Referenced Columns code generators
Referenced Columns code generators
Referenced Table code generator
Referenced Table code generator
Referencing columns code generators
Referencing columns code generators
Referencing Table code generator
Referencing Table code generator
(foreignKeyDef: StringAdd).self
(foreignKeyDef: StringFormat).self
(foreignKeyDef: ArrowAssoc[ForeignKeyDef]).x
(Since version 2.10.0) Use leftOfArrow
instead
(foreignKeyDef: Ensuring[ForeignKeyDef]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
ForeignKey related generator definition