Packages

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

Source
Model.scala
Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Model
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
Implicitly
  1. by StringFormat
  2. by Ensuring
  3. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Model(tables: Seq[Table], options: Set[ModelOption[_]] = Set())

Value Members

  1. def assertConsistency(): Unit

    Verifies consistency of the model by checking for duplicate names and references to non-existing entities.

    Verifies consistency of the model by checking for duplicate names and references to non-existing entities. In case such things are found, throws an AssertionError.

  2. val options: Set[ModelOption[_]]
  3. def productElementNames: Iterator[String]
    Definition Classes
    Product
  4. val tables: Seq[Table]
  5. lazy val tablesByName: Map[QualifiedName, Table]