SqlQuery

object SqlQuery
Companion:
class
Source:
SqlMapping.scala
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

case class SqlJoin(parent: TableExpr, child: TableExpr, on: List[(SqlColumn, SqlColumn)], inner: Boolean) extends ColumnOwner

Representation of an SQL join

Representation of an SQL join

Companion:
object
Source:
SqlMapping.scala
object SqlJoin
Companion:
class
Source:
SqlMapping.scala
case class SqlSelect(context: Context, withs: List[WithRef], table: TableExpr, cols: List[SqlColumn], joins: List[SqlJoin], wheres: List[Predicate], orders: List[OrderSelection[_]], offset: Option[Int], limit: Option[Int], distinct: List[SqlColumn], oneToOne: Boolean, predicate: Boolean) extends SqlQuery

Representation of an SQL SELECT

Representation of an SQL SELECT

Companion:
object
Source:
SqlMapping.scala
object SqlSelect
Companion:
class
Source:
SqlMapping.scala
case class SqlUnion(elems: List[SqlSelect]) extends SqlQuery

Representation of a UNION ALL of SQL SELECTs

Representation of a UNION ALL of SQL SELECTs

Companion:
object
Source:
SqlMapping.scala
object SqlUnion
Companion:
class
Source:
SqlMapping.scala

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
Source:
Mirror.scala

The name of the type

The name of the type

Inherited from:
Mirror
Source:
Mirror.scala

Value members

Concrete methods

Combine the given queries as a single SQL query

Combine the given queries as a single SQL query

Source:
SqlMapping.scala

Contextualise all terms in the given OrderSelection to the given context and owner

Contextualise all terms in the given OrderSelection to the given context and owner

Source:
SqlMapping.scala
def contextualiseTerm(context: Context, owner: ColumnOwner, term: Term[_]): SqlColumn

Yield a copy of the given Term with all referenced SqlColumns relativised to the given context and owned by by the given owner

Yield a copy of the given Term with all referenced SqlColumns relativised to the given context and owned by by the given owner

Source:
SqlMapping.scala

Contextualise all terms in the given Predicate to the given context and owner

Contextualise all terms in the given Predicate to the given context and owner

Source:
SqlMapping.scala

Render the given OrderSelections as a Fragment

Render the given OrderSelections as a Fragment

Source:
SqlMapping.scala

Yields a copy of the given OrderSelection with all occurences of from replaced by to

Yields a copy of the given OrderSelection with all occurences of from replaced by to

Source:
SqlMapping.scala

Yields a copy of the given Predicate with all occurences of from replaced by to

Yields a copy of the given Predicate with all occurences of from replaced by to

Source:
SqlMapping.scala

Compute the set of columns referred to by the given prediate

Compute the set of columns referred to by the given prediate

Source:
SqlMapping.scala

Compute the set of paths traversed by the given prediate

Compute the set of paths traversed by the given prediate

Source:
SqlMapping.scala

Render the given Predicates as a where clause Fragment

Render the given Predicates as a where clause Fragment

Source:
SqlMapping.scala