AbstractColumnDef
Column related generator definition
Attributes
- model
corresponding Slick meta model component
- Source:
- AbstractGenerator.scala
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait AbstractTermDeftrait AbstractDefclass Objecttrait Matchableclass Any
- Known subtypes
Members list
Basic customization overrides
Indicates whether the exposed type of this column should be wrapped in an Option. Useful for autoInc and automatically created columns. Set to autoInc to expose autoInc columns as Option.
Indicates whether the exposed type of this column should be wrapped in an Option. Useful for autoInc and automatically created columns. Set to autoInc to expose autoInc columns as Option.
Attributes
- Source:
- AbstractGenerator.scala
Scala code
Scala doc comment
Indicates whether this will be included in the generated code
Indicates whether this will be included in the generated code
Attributes
- Inherited from:
- AbstractDef
- Source:
- AbstractGenerator.scala
Name as desired in Scala Code. (Allowed to collide with Scala keywords. Will be automatically escaped.)
Name as desired in Scala Code. (Allowed to collide with Scala keywords. Will be automatically escaped.)
Attributes
- Source:
- AbstractGenerator.scala
Underlying Scala type of this column. Override this to just affect the data type but preserve potential Option-wrapping.
Underlying Scala type of this column. Override this to just affect the data type but preserve potential Option-wrapping.
Attributes
- Source:
- AbstractGenerator.scala
Value members
Abstract methods
Generates code for a columnOption
Returns a function, that maps a value to its literal representation as code
Returns a function, that maps a value to its literal representation as code
Attributes
- Source:
- AbstractGenerator.scala
Concrete methods
Possibly Option-wrapped Scala type of this column. @see rawType and @see exposedType
Possibly Option-wrapped Scala type of this column. @see rawType and @see exposedType
Attributes
- Source:
- AbstractGenerator.scala
Indicates whether this is an auto increment column
Indicates if a (non-portable) DBType ColumnOption should be generated
Indicates if a (non-portable) DBType ColumnOption should be generated
Attributes
- Source:
- AbstractGenerator.scala
Generates a literal representation of the default value or None in case of an Option-typed autoInc column
Generates a literal representation of the default value or None in case of an Option-typed autoInc column
Attributes
- Source:
- AbstractGenerator.scala
Option of actualType if fakeNullable else actualType.
Generates code for the ColumnOptions (DBType, AutoInc, etc.)
Generates code for the ColumnOptions (DBType, AutoInc, etc.)
Attributes
- Source:
- AbstractGenerator.scala
Inherited methods
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.
Attributes
- Inherited from:
- AbstractTermDef
- Source:
- AbstractGenerator.scala
Scala doc comment with code
Scala doc comment with code
Attributes
- Definition Classes
- Inherited from:
- AbstractTermDef
- Source:
- AbstractGenerator.scala
Returns Some(this) if enabled else None
Returns Some(this) if enabled else None
Attributes
- Inherited from:
- AbstractDef
- Source:
- AbstractGenerator.scala
Name (escaped if colliding with Scala keyword).
Name (escaped if colliding with Scala keyword).
Attributes
- Inherited from:
- AbstractTermDef
- Source:
- AbstractGenerator.scala
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product