ForeignKey

slick.lifted.ForeignKey
See theForeignKey companion object
final class ForeignKey(val name: String, val sourceTable: Node, val onUpdate: ForeignKeyAction, val onDelete: ForeignKeyAction, val sourceColumns: Any, val targetColumns: Any => Any, val linearizedSourceColumns: IndexedSeq[Node], val linearizedTargetColumns: IndexedSeq[Node], val linearizedTargetColumnsForOriginalTargetTable: IndexedSeq[Node], val targetTable: TableNode, val columnsShape: Shape[_ <: FlatShapeLevel, _, _, _])

Represents a foreign key. Objects of this type are used internally by Slick. At the user level you generally see ForeignKeyQuery objects instead.

Attributes

Companion
object
Source
Constraint.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete fields

val columnsShape: Shape[_ <: FlatShapeLevel, _, _, _]

Attributes

Source
Constraint.scala
val linearizedSourceColumns: IndexedSeq[Node]

Attributes

Source
Constraint.scala
val linearizedTargetColumns: IndexedSeq[Node]

Attributes

Source
Constraint.scala
val name: String

Attributes

Source
Constraint.scala

Attributes

Source
Constraint.scala

Attributes

Source
Constraint.scala
val sourceColumns: Any

Attributes

Source
Constraint.scala

Attributes

Source
Constraint.scala
val targetColumns: Any => Any

Attributes

Source
Constraint.scala

Attributes

Source
Constraint.scala