SqlQuery

dataprism.platform.sql.query.SqlQueries.SqlQuery
See theSqlQuery companion trait
object SqlQuery

Attributes

Companion
trait
Source
SqlQueries.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
SqlQuery.type

Members list

Type members

Classlikes

enum SetOperation(val all: Boolean)

Attributes

Source
SqlQueries.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
case Union
case Intersect
case Except
case class SqlQueryDistinctStage[A[_[_]]](query: Query[A], on: (A[DbValue]) => Seq[AnyDbValue]) extends SqlQuery[A]

Attributes

Source
SqlQueries.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait SqlQuery[A]
trait SqlQueryBase[A]
trait QueryBase[A]
class Object
trait Matchable
class Any
Show all
case class SqlQueryFlatMap[A[_[_]], B[_[_]]](query: Query[A], f: (A[DbValue]) => Query[B]) extends SqlQuery[B]

Attributes

Source
SqlQueries.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait SqlQuery[B]
trait SqlQueryBase[B]
trait QueryBase[B]
class Object
trait Matchable
class Any
Show all
case class SqlQueryFromStage[A[_[_]]](valueSource: ValueSource[A])(using applyK: ApplyKC[A], traverseK: TraverseKC[A]) extends SqlQuery[A]

Attributes

Source
SqlQueries.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait SqlQuery[A]
trait SqlQueryBase[A]
trait QueryBase[A]
class Object
trait Matchable
class Any
Show all
case class SqlQueryGroupedHavingStage[A[_[_]], Gr[_[_]], Ma[_[_]]](query: Query[A], group: (A[DbValue]) => Gr[DbValue], map: (Gr[DbValue], A[Many]) => Ma[DbValue], having: Option[(A[DbValue]) => DbValue[Boolean]])(using FAA: ApplyKC[A], FTA: TraverseKC[A], GR: TraverseKC[Gr], applyK: ApplyKC[Ma], traverseK: TraverseKC[Ma]) extends SqlQuery[Ma], SqlQueryGrouped[Ma]

Attributes

Source
SqlQueries.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait SqlQueryGrouped[Ma]
trait QueryGroupedBase[Ma]
trait SqlQuery[Ma]
trait SqlQueryBase[Ma]
trait QueryBase[Ma]
class Object
trait Matchable
class Any
Show all
case class SqlQueryLimitOffsetStage[A[_[_]]](query: Query[A], limit: Option[DbValue[Int]], offset: Option[DbValue[Int]]) extends SqlQuery[A]

Attributes

Source
SqlQueries.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait SqlQuery[A]
trait SqlQueryBase[A]
trait QueryBase[A]
class Object
trait Matchable
class Any
Show all
case class SqlQueryMapWhereStage[A[_[_]], B[_[_]]](valueSource: ValueSource[A], mapV: (A[DbValue]) => B[DbValue], whereV: Option[(A[DbValue]) => DbValue[Boolean]])(using FAA: ApplyKC[A], FTA: TraverseKC[A], applyK: ApplyKC[B], traverseK: TraverseKC[B]) extends SqlQuery[B]

Attributes

Source
SqlQueries.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait SqlQuery[B]
trait SqlQueryBase[B]
trait QueryBase[B]
class Object
trait Matchable
class Any
Show all
case class SqlQueryOrderedStage[A[_[_]]](query: Query[A], orderBy: (A[DbValue]) => OrdSeq) extends SqlQuery[A]

Attributes

Source
SqlQueries.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait SqlQuery[A]
trait SqlQueryBase[A]
trait QueryBase[A]
class Object
trait Matchable
class Any
Show all
case class SqlQuerySetOperations[A[_[_]]](head: Query[A], tail: Seq[(SetOperation, Query[A])]) extends SqlQuery[A]

Attributes

Source
SqlQueries.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait SqlQuery[A]
trait SqlQueryBase[A]
trait QueryBase[A]
class Object
trait Matchable
class Any
Show all
case class SqlQueryValues[A[_[_]]](value: A[DbValue], values: Seq[A[DbValue]])(using applyK: ApplyKC[A], traverseK: TraverseKC[A]) extends SqlQuery[A]

Attributes

Source
SqlQueries.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait SqlQuery[A]
trait SqlQueryBase[A]
trait QueryBase[A]
class Object
trait Matchable
class Any
Show all
case class SqlQueryWithoutFrom[A[_[_]]](values: A[DbValue])(using applyK: ApplyKC[A], traverseK: TraverseKC[A]) extends SqlQuery[A]

Attributes

Source
SqlQueries.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait SqlQuery[A]
trait SqlQueryBase[A]
trait QueryBase[A]
class Object
trait Matchable
class Any
Show all

Types

type AppTravKC[A[_[_]]] = ApplyKC[A] & TraverseKC[A]

Attributes

Source
SqlQueries.scala