Packages

  • package root

    edit this text on github Slick logo

    edit this text on github Slick logo

    Scala Language-Integrated Connection Kit

    This is the API documentation for the Slick database library. It should be used as an additional resource to the user manual.

    Further documentation for Slick can be found on the documentation pages.

    To the slick package list...

    Definition Classes
    root
  • package slick
    Definition Classes
    root
  • package ast

    Abstract Syntax Tree (AST) for representing queries during compilation

    Abstract Syntax Tree (AST) for representing queries during compilation

    Definition Classes
    slick
  • package basic

    Contains the abstract BasicProfile, BasicBackend and related code.

    Contains the abstract BasicProfile, BasicBackend and related code.

    Definition Classes
    slick
  • package collection

    HList implementation

    HList implementation

    Definition Classes
    slick
  • package compiler

    Slick AST to database query compiler

    Slick AST to database query compiler

    Definition Classes
    slick
  • package dbio

    The dbio package contains the Database I/O Action implementation.

    The dbio package contains the Database I/O Action implementation. See DBIOAction for details.

    Definition Classes
    slick
  • package jdbc

    Contains the abstract JdbcProfile and related code.

    Contains the abstract JdbcProfile and related code. This includes all JDBC-related code, facilities for Plain SQL queries, and JDBC-specific profile components.

    Definition Classes
    slick
  • package lifted

    Lifted embedding: Stable query api based on implicits and overloading lifting Scala code into Slick ASTs

    Lifted embedding: Stable query api based on implicits and overloading lifting Scala code into Slick ASTs

    Definition Classes
    slick
  • package memory
    Definition Classes
    slick
  • package model

    Slick schema model

    Slick schema model

    Definition Classes
    slick
  • Column
  • ForeignKey
  • ForeignKeyAction
  • ForeignKeyOption
  • Index
  • IndexOption
  • Model
  • ModelOption
  • PrimaryKey
  • PrimaryKeyOption
  • QualifiedName
  • Table
  • TableOption
  • package relational

    Contains the abstract RelationalProfile and related code.

    Contains the abstract RelationalProfile and related code.

    Definition Classes
    slick
  • package sql

    Contains the abstract SqlProfile and related code.

    Contains the abstract SqlProfile and related code.

    Definition Classes
    slick
  • package util

    Helper code for various things.

    Helper code for various things. Tuples, Logging, SQL, ...

    Definition Classes
    slick
p

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
Visibility
  1. Public
  2. Protected

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