Package

slick

model

Permalink

package model

Slick schema model

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. model
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Column(name: String, table: QualifiedName, tpe: String, nullable: Boolean, options: Set[ColumnOption[_]] = Set()) extends Product with Serializable

    Permalink

    tpe

    qualified Scala type, e.g. java.sql.Date

  2. 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

    Permalink
  3. sealed abstract class ForeignKeyAction extends AnyRef

    Permalink
  4. trait ForeignKeyOption[T] extends AnyRef

    Permalink
  5. case class Index(name: Option[String], table: QualifiedName, columns: Seq[Column], unique: Boolean, options: Set[IndexOption[_]] = Set()) extends Product with Serializable

    Permalink
  6. trait IndexOption[T] extends AnyRef

    Permalink
  7. case class Model(tables: Seq[Table], options: Set[ModelOption[_]] = Set()) extends Product with Serializable

    Permalink

    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.

  8. trait ModelOption[T] extends AnyRef

    Permalink
  9. case class PrimaryKey(name: Option[String], table: QualifiedName, columns: Seq[Column], options: Set[PrimaryKeyOption[_]] = Set()) extends Product with Serializable

    Permalink
  10. trait PrimaryKeyOption[T] extends AnyRef

    Permalink
  11. case class QualifiedName(table: String, schema: Option[String] = None, catalog: Option[String] = None) extends Product with Serializable

    Permalink

    Qualified name of a database table

  12. 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

    Permalink
  13. trait TableOption[T] extends AnyRef

    Permalink

Value Members

  1. object ForeignKeyAction

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped