package model
- Alphabetic
- By Inheritance
- model
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class Column(name: String, table: QualifiedName, tpe: String, nullable: Boolean, options: Set[ColumnOption[_]] = Set()) extends Product with Serializable
- tpe
qualified Scala type, e.g. java.sql.Date
- case class ForeignKey(name: Option[String], referencingTable: QualifiedName, referencingColumns: Seq[Column], referencedTable: QualifiedName, referencedColumns: Seq[Column], onUpdate: ForeignKeyAction, onDelete: ForeignKeyAction, options: Set[ForeignKeyOption[_]] = Set()) extends Product with Serializable
- sealed abstract class ForeignKeyAction extends AnyRef
- trait ForeignKeyOption[T] extends AnyRef
- case class Index(name: Option[String], table: QualifiedName, columns: Seq[Column], unique: Boolean, options: Set[IndexOption[_]] = Set()) extends Product with Serializable
- trait IndexOption[T] extends AnyRef
- case class Model(tables: Seq[Table], options: Set[ModelOption[_]] = Set()) extends Product with Serializable
A container class for Slick's data model The model can have circular references (e.g.
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.
- trait ModelOption[T] extends AnyRef
- case class PrimaryKey(name: Option[String], table: QualifiedName, columns: Seq[Column], options: Set[PrimaryKeyOption[_]] = Set()) extends Product with Serializable
- trait PrimaryKeyOption[T] extends AnyRef
- case class QualifiedName(table: String, schema: Option[String] = None, catalog: Option[String] = None) extends Product with Serializable
Qualified name of a database table
- case class Table(name: QualifiedName, columns: Seq[Column], primaryKey: Option[PrimaryKey], foreignKeys: Seq[ForeignKey], indices: Seq[Index], options: Set[TableOption[_]] = Set()) extends Product with Serializable
- trait TableOption[T] extends AnyRef
Value Members
- object ForeignKeyAction
edit this text on github
Scala Language-Integrated Connection Kit
This is the API documentation for the Slick database library. It should be used as an additional resource to the user manual.
Further documentation for Slick can be found on the documentation pages.
To the slick package list...