slick

model

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
Learn more about member selection
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

    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

  3. sealed abstract class ForeignKeyAction extends AnyRef

  4. trait ForeignKeyOption[T] extends AnyRef

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

  6. trait IndexOption[T] extends AnyRef

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

  8. trait ModelOption[T] extends AnyRef

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

  10. trait PrimaryKeyOption[T] extends AnyRef

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

    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

  13. trait TableOption[T] extends AnyRef

Value Members

  1. object ForeignKeyAction

Inherited from AnyRef

Inherited from Any

Ungrouped