final class OrderBySyntax[In, Out] extends AnyVal
- Alphabetic
- By Inheritance
- OrderBySyntax
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- macro def orderBy[B, C, D](f1: (Out) => B, f2: (Out) => C, f3: (Out) => D)(implicit orderingB: Ordering[B], orderingC: Ordering[C], orderingD: Ordering[D]): Query[In, Out]
Orders
this
query output values by the specified ordering keys.Orders
this
query output values by the specified ordering keys. Could be ordered eitherascending
ordescending
.- B
first ordering key type
- C
second ordering key type
- D
third ordering key type
- f1
get the first ordering key
- f2
get the second ordering key
- f3
get the third ordering key
- orderingB
ordering of the first key
- orderingC
ordering of the second key
- orderingD
ordering of the third key
- returns
query emitting values in the specified order
- Note
for
descending
order, it's required to use.desc
method on the ordering key.scalaql
will automatically reverse the implicit ordering. Example:select[Person].orderBy(_.name, _.age, _.salary) // or select[Person].orderBy(_.name, _.age.desc, _.salary.desc)
- macro def orderBy[B, C](f1: (Out) => B, f2: (Out) => C)(implicit orderingB: Ordering[B], orderingC: Ordering[C]): Query[In, Out]
Orders
this
query output values by the specified ordering keys.Orders
this
query output values by the specified ordering keys. Could be ordered eitherascending
ordescending
.- B
first ordering key type
- C
second ordering key type
- f1
get the first ordering key
- f2
get the second ordering key
- orderingB
ordering of the first key
- orderingC
ordering of the second key
- returns
query emitting values in the specified order
- Note
for
descending
order, it's required to use.desc
method on the ordering key.scalaql
will automatically reverse the implicit ordering. Example:select[Person].orderBy(_.name, _.age) // or select[Person].orderBy(_.name, _.age.desc)
- macro def orderBy[B](f: (Out) => B)(implicit orderingB: Ordering[B]): Query[In, Out]
Orders
this
query output values by the specified ordering key.Orders
this
query output values by the specified ordering key. Could be ordered eitherascending
ordescending
.- B
ordering key type
- f
get the ordering key
- orderingB
ordering of the key
- returns
query emitting values in the specified order
- Note
for
descending
order, it's required to use.desc
method on the ordering key.scalaql
will automatically reverse the implicit ordering. Example:select[Person].orderBy(_.age) // or select[Person].orderBy(_.age.desc)
- def ordered(implicit order: Ordering[Out], In: scalaql.Tag[In], Out: scalaql.Tag[Out]): Query[In, Out]
Orders
this
query output values by their natural order.Orders
this
query output values by their natural order.- order
the natural order of output values
- returns
query emitting values in the specified order
- val self: Query[In, Out]
- def toString(): String
- Definition Classes
- Any