scala.slick.codegen.AbstractSourceCodeGenerator.TableDef
Possibly Option-wrapped Scala type of this column.
Possibly Option-wrapped Scala type of this column. @see rawType and @see exposedType
Indicates whether this is an auto increment column
Indicates whether this is an auto increment column
Scala code
Generates code for a columnOption
Indicates if a (non-portable) DBType ColumnOption should be generated
Indicates if a (non-portable) DBType ColumnOption should be generated
Generates a literal represenation of the default value or None in case of an Option-typed autoinc column
Generates a literal represenation of the default value or None in case of an Option-typed autoinc column
Returns a function, that maps a value to its literal representation as code
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 with code
Indicates whether this will be included in the generated code
Indicates whether this will be included in the generated code
Option of actualType if fakeNullable else actualType.
Option of actualType if fakeNullable else actualType. Useful to expose autoInc columns as nullable.
Indicates whether this column should be user facing as a nullable column with default None even though it is not.
Indicates whether this column should be user facing as a nullable column with default None even though it is not. Useful for autoInc columns.
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).
Generates code for the ColumnOptions (DBType, AutoInc, etc.
Generates code for the ColumnOptions (DBType, AutoInc, etc.)
Name as desired in Scala Code.
Underlying Scala type of this column.
Underlying Scala type of this column. Override this to just affect the data type but preserve potential Option-wrapping. Override GeneratorHelpers#mapJdbcTypeString for generic adjustments.
(columnDef: StringAdd).self
(columnDef: StringFormat).self
(columnDef: ArrowAssoc[ColumnDef]).x
(Since version 2.10.0) Use leftOfArrow
instead
(columnDef: Ensuring[ColumnDef]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Column related generator definition