slick.ast.ColumnOption
See theColumnOption companion class
object ColumnOption
The basic column options that influence profile-independent parts of query compilation. Different profile levels define additional options.
Attributes
- Companion
- class
- Source
- ColumnOption.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ColumnOption.type
Members list
Type members
Classlikes
case object AutoInc extends ColumnOption[Nothing]
Mark a column as auto-incrementing / automatically generated. This option is usually combined with PrimaryKey.
Mark a column as auto-incrementing / automatically generated. This option is usually combined with PrimaryKey.
Attributes
- Source
- ColumnOption.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass ColumnOption[Nothing]class Objecttrait Matchableclass AnyShow all
- Self type
-
AutoInc.type
case object PrimaryKey extends ColumnOption[Nothing]
Mark a column as the table's primary key. For named and composite primary keys you have to use the Table's primaryKey method instead.
Mark a column as the table's primary key. For named and composite primary keys you have to use the Table's primaryKey method instead.
Attributes
- Source
- ColumnOption.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass ColumnOption[Nothing]class Objecttrait Matchableclass AnyShow all
- Self type
-
PrimaryKey.type
case object Unique extends ColumnOption[Nothing]
Attributes
- Source
- ColumnOption.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass ColumnOption[Nothing]class Objecttrait Matchableclass AnyShow all
- Self type
-
Unique.type
In this article