slick.model
package slick.model
Slick schema model
Attributes
Members list
Concise view
Type members
Classlikes
case class Column(name: String, table: QualifiedName, tpe: String, nullable: Boolean, options: Set[ColumnOption[_]])
Attributes
- tpe
qualified Scala type, e.g. java.sql.Date
- Source:
- Model.scala
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
case class ForeignKey(name: Option[String], referencingTable: QualifiedName, referencingColumns: Seq[Column], referencedTable: QualifiedName, referencedColumns: Seq[Column], onUpdate: ForeignKeyAction, onDelete: ForeignKeyAction, options: Set[ForeignKeyOption[_]])
Attributes
- Source:
- Model.scala
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Companion:
- object
- Source:
- Model.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- object Cascade.typeobject NoAction.typeobject Restrict.typeobject SetDefault.typeobject SetNull.type
object ForeignKeyAction
Attributes
- Companion:
- class
- Source:
- Model.scala
- Graph
- Supertypes
- trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- ForeignKeyAction.type
Attributes
- Source:
- Model.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
case class Index(name: Option[String], table: QualifiedName, columns: Seq[Column], unique: Boolean, options: Set[IndexOption[_]])
Attributes
- Source:
- Model.scala
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Source:
- Model.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
A container class for Slick's data model The model can have circular references (e.g. a table has a foreign key which points back to the table). The references are broken apart by using names instead of object references for back references.
A container class for Slick's data model The model can have circular references (e.g. a table has a foreign key which points back to the table). The references are broken apart by using names instead of object references for back references.
Attributes
- Source:
- Model.scala
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Source:
- Model.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
case class PrimaryKey(name: Option[String], table: QualifiedName, columns: Seq[Column], options: Set[PrimaryKeyOption[_]])
Attributes
- Source:
- Model.scala
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Source:
- Model.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Qualified name of a database table
Qualified name of a database table
Attributes
- Source:
- Model.scala
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
case class Table(name: QualifiedName, columns: Seq[Column], primaryKey: Option[PrimaryKey], foreignKeys: Seq[ForeignKey], indices: Seq[Index], options: Set[TableOption[_]])
Attributes
- Source:
- Model.scala
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Source:
- Model.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any