Model

slick.model.Model
case class Model(tables: Seq[Table], options: Set[ModelOption[_]])

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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def assertConsistency(): Unit

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.

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.

Attributes

Source
Model.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val tablesByName: Map[QualifiedName, Table]

Attributes

Source
Model.scala