ColumnOption

slick.ast.ColumnOption$
See theColumnOption companion class

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 Object
trait Matchable
class Any
Self type

Members list

Concise view

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
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class ColumnOption[Nothing]
class Object
trait Matchable
class Any
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
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class ColumnOption[Nothing]
class Object
trait Matchable
class Any
Self type
case object Unique extends ColumnOption[Nothing]

Attributes

Source:
ColumnOption.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class ColumnOption[Nothing]
class Object
trait Matchable
class Any
Self type
Unique.type