AbstractSourceCodeColumnDef
Attributes
- Source:
- AbstractSourceCodeGenerator.scala
- Graph
- Supertypes
- class AbstractColumnDeftrait Serializabletrait Producttrait Equalstrait AbstractTermDeftrait AbstractDefclass Objecttrait Matchableclass Any
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
- Inherited from:
- AbstractColumnDef
- 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
- Inherited from:
- AbstractColumnDef
- 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
- Inherited from:
- AbstractColumnDef
- Source:
- AbstractGenerator.scala
Value members
Concrete 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
Inherited 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
- Inherited from:
- AbstractColumnDef
- Source:
- AbstractGenerator.scala
Indicates whether this is an auto increment column
Indicates whether this is an auto increment column
Attributes
- Inherited from:
- AbstractColumnDef
- Source:
- AbstractGenerator.scala
Indicates if a (non-portable) DBType ColumnOption should be generated
Indicates if a (non-portable) DBType ColumnOption should be generated
Attributes
- Inherited from:
- AbstractColumnDef
- 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
- Inherited from:
- AbstractColumnDef
- Source:
- AbstractGenerator.scala
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
Option of actualType if fakeNullable else actualType.
Option of actualType if fakeNullable else actualType.
Attributes
- Inherited from:
- AbstractColumnDef
- 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
Generates code for the ColumnOptions (DBType, AutoInc, etc.)
Generates code for the ColumnOptions (DBType, AutoInc, etc.)
Attributes
- Inherited from:
- AbstractColumnDef
- Source:
- AbstractGenerator.scala
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product