Packages

c

slick.lifted

SingleColumnQueryExtensionMethods

final class SingleColumnQueryExtensionMethods[B1, P1, C[_]] extends AnyVal

Extension methods for Queries of a single column

Source
ExtensionMethods.scala
Linear Supertypes
AnyVal, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SingleColumnQueryExtensionMethods
  2. AnyVal
  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 SingleColumnQueryExtensionMethods(q: Query[Rep[P1], _, C])

Type Members

  1. type OptionTM = TypedType[Option[B1]]

Value Members

  1. def avg(implicit tm: OptionTM): Rep[Option[B1]]

    Compute the average of a single-column Query, or None if the Query is empty

  2. def countDefined(implicit ev: <:<[P1, Option[_]]): Rep[Int]

    Count the number of Some elements of a single-column Query.

  3. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  4. def max(implicit tm: OptionTM): Rep[Option[B1]]

    Compute the maximum value of a single-column Query, or None if the Query is empty

  5. def min(implicit tm: OptionTM): Rep[Option[B1]]

    Compute the minimum value of a single-column Query, or None if the Query is empty

  6. val q: Query[Rep[P1], _, C]
  7. def sum(implicit tm: OptionTM): Rep[Option[B1]]

    Compute the sum of a single-column Query, or None if the Query is empty