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

TypedWhen

final class TypedWhen[B, T] extends AnyRef

Source
Case.scala
Linear Supertypes
AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TypedWhen
  2. AnyRef
  3. 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 TypedWhen(cond: Node, parentClauses: ConstArray[Node])(implicit arg0: TypedType[B], arg1: TypedType[T])

Value Members

  1. def Then(res: Rep[T]): TypedCase[B, T]