SqlQueries

dataprism.platform.sql.query.SqlQueries
trait SqlQueries extends SqlQueriesBase

Attributes

Source
SqlQueries.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Show all
Known subtypes
Self type

Members list

Type members

Classlikes

Attributes

Source
SqlQueries.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Impl
object Impl
object Impl
object Impl
object Impl
object Impl
object Impl
Show all
object SqlQuery

Attributes

Companion
trait
Source
SqlQueries.scala
Supertypes
class Object
trait Matchable
class Any
Self type
SqlQuery.type
sealed trait SqlQuery[A[_[_]]] extends SqlQueryBase[A]

Attributes

Companion
object
Source
SqlQueries.scala
Supertypes
trait SqlQueryBase[A]
trait QueryBase[A]
class Object
trait Matchable
class Any
Known subtypes

Attributes

Source
SqlQueries.scala
Supertypes
class Object
trait Matchable
class Any
trait SqlQueryGrouped[A[_[_]]] extends QueryGroupedBase[A], SqlQuery[A]

Attributes

Source
SqlQueries.scala
Supertypes
trait SqlQuery[A]
trait SqlQueryBase[A]
trait QueryGroupedBase[A]
trait QueryBase[A]
class Object
trait Matchable
class Any
Show all
Known subtypes
class SqlQueryGroupedHavingStage[A, Gr, Ma]

Inherited classlikes

trait BinOp[LHS, RHS, R]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ArrayConcatBinOp[A, LHS, RHS]
enum FundamentalBinOp[LHS, RHS, R]
case Eq[A]
case Neq[A]
case LessThan[A]
case LessOrEqual[A]
case GreaterThan[A]
case GreaterOrEqual[A]
case And[A]
case Or[A]
case Plus[A]
case Minus[A]
case Multiply[A]
case Divide[A]
case Remainder[A]
case NullableOp[LHS1, RHS1, R1]
enum SqlBitwiseBinOp[A]
case And[A]
case Or[A]
case Xor[A]
class SqlStringLikeOp[A]
Show all
trait ConditionCase[A]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait DbValueBase[A]

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait SqlDbValueBase[A]
enum SqlDbValue[A]
case JoinNullable[B]
case UnaryOp[B, R]
case BinOp[B, C, R]
case AsSome[B]
case Null[B]
case IsNull[B]
case IsNotNull[B]
case InValues[B, R]
case NotInValues[B, R]
case InQuery[B, R]
case NotInQuery[B, R]
case ValueCase[V, R]
Show all

Attributes

Inherited from:
SqlQueriesBase
Source
SqlQueriesBase.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Inherited from:
SqlQueriesBase
Source
SqlQueriesBase.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Inherited from:
SqlQueriesBase
Source
SqlQueriesBase.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Inherited from:
SqlQueriesBase
Source
SqlQueriesBase.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Inherited from:
SqlQueriesBase
Source
SqlQueriesBase.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Inherited from:
SqlQueriesBase
Source
SqlQueriesBase.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Lift

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala
Supertypes
class Object
trait Matchable
class Any
trait Lift[A, B]

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Many
object Nullability

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
Supertypes
class Object
trait Matchable
class Any
trait Nullability[A] extends NullabilityBase[A]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
Supertypes
trait NullabilityBase[A]
class Object
trait Matchable
class Any
trait NullabilityBase[A]

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Nullability[A]
trait OrdSeqBase

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait OrdSeq
class MultiOrdSeq
enum Ord
trait QueryApi

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait H2Api
object Api
trait MySqlApi
object Api
object Api
object Api
trait PostgresApi
object Api
object Api
trait SqliteApi
object Api
Show all
case class QueryAstMetadata[A[_[_]]](ast: SelectAst[Codec], aliases: A[Const[String]], values: A[DbValue])

Attributes

Inherited from:
SqlQueriesBase
Source
SqlQueriesBase.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait QueryBase[A[_[_]]]

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait QueryGroupedBase[A[_[_]]] extends QueryBase[A]

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala
Supertypes
trait QueryBase[A]
class Object
trait Matchable
class Any
Known subtypes
trait SqlQueryGrouped[A]
class SqlQueryGroupedHavingStage[A, Gr, Ma]
trait SqlBaseImpl

Attributes

Inherited from:
SqlQueryPlatformBase
Source
SqlQueryPlatformBase.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Impl
object Impl
object Impl
object Impl
object Impl
object Impl
object Impl
Show all

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait H2Api
object Api
trait MySqlApi
object Api
object Api
object Api
trait PostgresApi
object Api
object Api
trait SqliteApi
object Api
Show all
trait SqlDbValueBase[A] extends DbValueBase[A]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
Supertypes
trait DbValueBase[A]
class Object
trait Matchable
class Any
Known subtypes
enum SqlDbValue[A]
case JoinNullable[B]
case UnaryOp[B, R]
case BinOp[B, C, R]
case AsSome[B]
case Null[B]
case IsNull[B]
case IsNotNull[B]
case InValues[B, R]
case NotInValues[B, R]
case InQuery[B, R]
case NotInQuery[B, R]
case ValueCase[V, R]
Show all

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait SqlFractionalBase[A] extends SqlNumericBase[A]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
Supertypes
trait SqlNumericBase[A]
trait SqlOrderedBase[A]
class Object
trait Matchable
class Any
Known subtypes
trait SqlFractional[A]
trait SqlIntegralBase[A] extends SqlNumericBase[A]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
Supertypes
trait SqlNumericBase[A]
trait SqlOrderedBase[A]
class Object
trait Matchable
class Any
Known subtypes
trait SqlIntegral[A]
trait SqlLogicBase[A]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait SqlLogic[A]
trait SqlNumericBase[A] extends SqlOrderedBase[A]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
Supertypes
trait SqlOrderedBase[A]
class Object
trait Matchable
class Any
Known subtypes
trait SqlFractional[A]
trait SqlIntegralBase[A]
trait SqlIntegral[A]
trait SqlNumeric[A]
trait SqlOrdSeqBase extends OrdSeqBase

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
Supertypes
trait OrdSeqBase
class Object
trait Matchable
class Any
Known subtypes
trait OrdSeq
class MultiOrdSeq
enum Ord
trait SqlOrderedBase[A](using val n: NullabilityOf[A])

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait SqlNumericBase[A]
trait SqlFractional[A]
trait SqlIntegralBase[A]
trait SqlIntegral[A]
trait SqlNumeric[A]
trait SqlOrdered[A]
Show all
trait SqlQueryApi

Attributes

Inherited from:
SqlQueriesBase
Source
SqlQueriesBase.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait H2Api
object Api
trait MySqlApi
object Api
object Api
object Api
trait PostgresApi
object Api
object Api
trait SqliteApi
object Api
Show all
trait SqlQueryBase[A[_[_]]] extends QueryBase[A]

Attributes

Inherited from:
SqlQueriesBase
Source
SqlQueriesBase.scala
Supertypes
trait QueryBase[A]
class Object
trait Matchable
class Any
Known subtypes

Attributes

Inherited from:
SqlQueriesBase
Source
SqlQueriesBase.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Inherited from:
SqlQueryPlatformBase
Source
SqlQueryPlatformBase.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class TaggedState

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Impl
object Impl
object Impl
object Impl
object Impl
object Impl
object Impl
Show all
trait UnaryOp[V, R]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
enum FundamentalUnaryOp[V, R]
case Not[A]
case Negative[A]
case NullableOp[V1, R1]
class SqlBitwiseNotOp[A]
trait ValueCase0[A]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait ValueCase1[A, B]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class DefaultValueCase1[A, B]

Types

Inherited types

type AnyDbValue <: DbValue[Any]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala

Attributes

Inherited from:
SqlQueriesBase
Source
SqlQueriesBase.scala

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
type CastType[A]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
type Codec[_]

Attributes

Inherited from:
SqlQueryPlatformBase
Source
SqlQueryPlatformBase.scala
type DbMath

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
override type DbValue[A] <: SqlDbValueBase[A]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
type FullJoin[A[_[_]], B[_[_]]] = [F[_]] =>> (A[Compose2[F, Nullable]], B[Compose2[F, Nullable]])

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala
type InnerJoin[A[_[_]], B[_[_]]] = [F[_]] =>> (A[F], B[F])

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala
type LeftJoin[A[_[_]], B[_[_]]] = [F[_]] =>> (A[F], B[Compose2[F, Nullable]])

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala
type Many[A]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
type NullabilityOf[A] = A match { case Option[b] => Aux[A, b, Option] case Any => Aux[A, A, Id] }

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
type Nullable[A] = A match { case Option[b] => Option[b] case Any => Option[A] }

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala
type Ord <: OrdSeq

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
type Query[A[_[_]]] <: SqlQueryBase[A]

Attributes

Inherited from:
SqlQueriesBase
Source
SqlQueriesBase.scala

Attributes

Inherited from:
SqlQueriesBase
Source
SqlQueriesBase.scala
type QueryGrouped[A[_[_]]] <: QueryGroupedBase[A] & Query[A]

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala
type RightJoin[A[_[_]], B[_[_]]] = [F[_]] =>> (A[Compose2[F, Nullable]], B[F])

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
type SqlLogic[A] <: SqlLogicBase[A]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
type SqlNumeric[A] <: SqlNumericBase[A] & SqlOrdered[A]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
type SqlOrdered[A] <: SqlOrderedBase[A]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
type TagState[A] = State[TaggedState, A]

Attributes

Inherited from:
SqlQueryPlatformBase
Source
SqlQueryPlatformBase.scala
type Type[A] = SelectedType[Codec, A]

Attributes

Inherited from:
SqlQueryPlatformBase
Source
SqlQueryPlatformBase.scala

Value members

Inherited methods

protected def freshTaggedState: TaggedState

Attributes

Inherited from:
SqlQueryPlatformBase
Source
SqlQueryPlatformBase.scala

Inherited fields

Attributes

Inherited from:
SqlQueryPlatformBase
Source
SqlQueryPlatformBase.scala
val Api: Api

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
val DbMath: DbMath

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
protected val Impl: Impl

Attributes

Inherited from:
SqlQueryPlatformBase
Source
SqlQueryPlatformBase.scala

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala

Attributes

Inherited from:
QueryPlatform
Source
QueryPlatform.scala

Attributes

Inherited from:
SqlQueryPlatformBase
Source
SqlQueryPlatformBase.scala

Givens

Inherited givens

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala

Extensions

Extensions

extension [A](query: Query[[F[_]] =>> F[A]])
override def asDbValue: DbValue[A]

Attributes

Definition Classes
Source
SqlQueries.scala
extension [A[_[_]]](sqlQuery: SqlQuery[A])

Attributes

Source
SqlQueries.scala
extension [A[_[_]]](sqlQuery: SqlQueryGrouped[A])

Inherited extensions

extension [A](optVal: DbValue[Option[A]])(using ev: NotGiven[A <:< Option[_]])
def filter(f: (DbValue[A]) => DbValue[Boolean]): DbValue[Option[A]]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
def flatMap[B](f: (DbValue[A]) => DbValue[Option[B]]): DbValue[Option[B]]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
def getOrElse(other: DbValue[A]): DbValue[A]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
def map[B](f: (DbValue[A]) => DbValue[B]): DbValue[Option[B]]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
def orElse(other: DbValue[Option[A]]): DbValue[Option[A]]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
def unsafeGet: DbValue[A]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
extension [A](t: CastType[A])

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
def castTypeType: Type[A]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
extension [T](t: T)(using mr: MapRes[Many, T])
def mapManyN[B](f: (mr.K[DbValue]) => DbValue[B]): Many[B]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
extension [T](t: T)(using mr: MapRes[Compose2[DbValue, Option], T])
def mapNullableN[B](f: (mr.K[DbValue]) => DbValue[B]): DbValue[Option[B]]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
extension [A](tpe: Codec[A])
def name: String

Attributes

Inherited from:
SqlQueryPlatformBase
Source
SqlQueryPlatformBase.scala
extension [A](tpe: Type[A])
def name: String

Attributes

Inherited from:
SqlQueryPlatformBase
Source
SqlQueryPlatformBase.scala
extension [A](tpe: Type[A])
def typedChoice(using NotGiven[A <:< Option[_]]): NullabilityTypeChoice[Codec, A, tpe.Dimension]

Attributes

Inherited from:
SqlQueryPlatformBase
Source
SqlQueryPlatformBase.scala
extension [A](tpe: Type[Option[A]])
extension [A](v: A)
def as(tpe: Type[A]): DbValue[A]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala
def asNullable(tpe: Type[A])(using NotGiven[A <:< Option[_]]): DbValue[Option[A]]

Attributes

Inherited from:
SqlDbValuesBase
Source
SqlDbValuesBase.scala