PrimaryKey
slick.ast.ColumnOption.PrimaryKey
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.
Attributes
- Source
- ColumnOption.scala
- Graph
-
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass ColumnOption[Nothing]class Objecttrait Matchableclass Any
- Self type
-
PrimaryKey.type
Members list
In this article