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 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
  • object Case

    Case provides a DSL for conditional statements in the query language.

    Case provides a DSL for conditional statements in the query language. An arbitrary number of If...Then expressions can be chained, optionally followed by Else, e.g.:

    Case If u.id < 3 Then "low" If u.id < 6 Then "medium" Else "high"

    All result expressions have to be of compatible type (modulo nullability). If at least one of them is an Option type or the Else branch is missing, the result is also an Option.

    Definition Classes
    lifted
  • TypedCase
  • TypedWhen
  • UntypedWhen
c

slick.lifted.Case

TypedCase

final class TypedCase[B, T] extends TypedRep[Option[B]]

Source
Case.scala
Linear Supertypes
TypedRep[Option[B]], Rep[Option[B]], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TypedCase
  2. TypedRep
  3. Rep
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TypedCase(clauses: ConstArray[Node])(implicit arg0: TypedType[B], arg1: TypedType[T])

Value Members

  1. def Else(res: Rep[T]): Rep[T]
  2. def If[C <: Rep[_]](cond: C)(implicit arg0: CanBeQueryCondition[C]): TypedWhen[B, T]
  3. def encodeRef(path: Node): Rep[Option[B]]

    Encode a reference into this Rep.

    Encode a reference into this Rep.

    Definition Classes
    TypedRepRep
  4. def toNode: IfThenElse

    Get the Node for this Rep.

    Get the Node for this Rep.

    Definition Classes
    TypedCaseRep
  5. def toString(): String
    Definition Classes
    Rep → AnyRef → Any
  6. implicit final val tpe: TypedType[Option[B]]
    Definition Classes
    TypedRep