SqlDbValues

dataprism.platform.sql.value.SqlDbValues
opaque trait SqlDbValues extends SqlDbValuesBase

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Show all
Known subtypes
Self type

Members list

Type members

Classlikes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
enum FundamentalBinOp[LHS, RHS, R](val name: String, op: BinaryOperation) extends BinOp[LHS, RHS, R]

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
trait BinOp[LHS, RHS, R]
class Object
trait Matchable
class Any
Show all
Known subtypes
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]
Show all
enum FundamentalUnaryOp[V, R](val name: String, op: UnaryOperation) extends UnaryOp[V, R]

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
trait UnaryOp[V, R]
class Object
trait Matchable
class Any
Show all
Known subtypes
case Not[A]
case Negative[A]
case NullableOp[V1, R1]
object Many extends ManyCompanion

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Many.type
enum SqlDbValue[A] extends SqlDbValueBaseImpl[A]

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
trait SqlDbValueBase[A]
trait DbValueBase[A]
class Object
trait Matchable
class Any
Show all
Known subtypes
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
trait SqlDbValueBaseImpl[A] extends SqlDbValueBase[A]

Attributes

Supertypes
trait SqlDbValueBase[A]
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

Supertypes
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait H2Api
trait MySqlApi
trait PostgresApi
trait SqliteApi
object SqlFractional

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait SqlFractional[A] extends SqlNumeric[A], SqlFractionalBase[A]

Attributes

Companion
object
Supertypes
trait SqlNumeric[A]
trait SqlOrdered[A]
trait SqlNumericBase[A]
trait SqlOrderedBase[A]
class Object
trait Matchable
class Any
Show all
object SqlIntegral

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait SqlIntegral[A] extends SqlNumeric[A], SqlIntegralBase[A]

Attributes

Companion
object
Supertypes
trait SqlIntegralBase[A]
trait SqlNumeric[A]
trait SqlOrdered[A]
trait SqlNumericBase[A]
trait SqlOrderedBase[A]
class Object
trait Matchable
class Any
Show all
object SqlLogic

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
SqlLogic.type
trait SqlLogic[A] extends SqlLogicBase[A]

Attributes

Companion
object
Supertypes
trait SqlLogicBase[A]
class Object
trait Matchable
class Any
object SqlNumeric

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
SqlNumeric.type
trait SqlNumeric[A] extends SqlNumericBase[A], SqlOrdered[A]

Attributes

Companion
object
Supertypes
trait SqlOrdered[A]
trait SqlNumericBase[A]
trait SqlOrderedBase[A]
class Object
trait Matchable
class Any
Show all
Known subtypes
trait SqlFractional[A]
trait SqlIntegral[A]
object SqlOrdered

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
SqlOrdered.type
trait SqlOrdered[A](using n0: NullabilityOf[A]) extends SqlOrderedBase[A]

Attributes

Companion
object
Supertypes
trait SqlOrderedBase[A]
class Object
trait Matchable
class Any
Known subtypes
trait SqlNumeric[A]
trait SqlFractional[A]
trait SqlIntegral[A]

Inherited classlikes

trait BinOp[LHS, RHS, R]

Attributes

Inherited from:
SqlDbValuesBase
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
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait DbValueBase[A]

Attributes

Inherited from:
QueryPlatform
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:
QueryPlatform
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Lift

Attributes

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

Attributes

Inherited from:
QueryPlatform
Supertypes
class Object
trait Matchable
class Any

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
QueryPlatform
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait H2Api
trait MySqlApi
trait PostgresApi
trait SqliteApi
trait QueryBase[A[_[_]]]

Attributes

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

Attributes

Inherited from:
QueryPlatform
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
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

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

Attributes

Inherited from:
SqlDbValuesBase
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait H2Api
trait MySqlApi
trait PostgresApi
trait SqliteApi
trait SqlDbValueBase[A] extends DbValueBase[A]

Attributes

Inherited from:
SqlDbValuesBase
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
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait SqlFractionalBase[A] extends SqlNumericBase[A]

Attributes

Inherited from:
SqlDbValuesBase
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
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
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait SqlLogic[A]
trait SqlNumericBase[A] extends SqlOrderedBase[A]

Attributes

Inherited from:
SqlDbValuesBase
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
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
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

Attributes

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

Attributes

Inherited from:
SqlDbValuesBase
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait UnaryOp[V, R]

Attributes

Inherited from:
SqlDbValuesBase
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
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait ValueCase1[A, B]

Attributes

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

Types

opaque type Many[A]

Inherited types

type AnyDbValue <: DbValue[Any]

Attributes

Inherited from:
SqlDbValuesBase

Attributes

Inherited from:
SqlDbValuesBase
type CastType[A]

Attributes

Inherited from:
SqlDbValuesBase
type Codec[_]

Attributes

Inherited from:
SqlQueryPlatformBase
type DbMath

Attributes

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

Attributes

Inherited from:
SqlDbValuesBase

Attributes

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

Attributes

Inherited from:
QueryPlatform

Attributes

Inherited from:
QueryPlatform

Attributes

Inherited from:
QueryPlatform

Attributes

Inherited from:
QueryPlatform

Attributes

Inherited from:
QueryPlatform

Attributes

Inherited from:
QueryPlatform

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
QueryPlatform
type Ord <: OrdSeq

Attributes

Inherited from:
QueryPlatform

Attributes

Inherited from:
SqlDbValuesBase
type Query[A[_[_]]] <: QueryBase[A]

Attributes

Inherited from:
QueryPlatform

Attributes

Inherited from:
QueryPlatform
type QueryGrouped[A[_[_]]] <: QueryGroupedBase[A] & Query[A]

Attributes

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

Attributes

Inherited from:
QueryPlatform
type TagState[A] = State[TaggedState, A]

Attributes

Inherited from:
SqlQueryPlatformBase

Attributes

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

Attributes

Inherited from:
SqlQueryPlatformBase

Value members

Abstract methods

protected def sqlDbValueLift[A]: Lift[SqlDbValue[A], DbValue[A]]

Inherited methods

protected def freshTaggedState: TaggedState

Attributes

Inherited from:
SqlQueryPlatformBase

Inherited fields

Attributes

Inherited from:
SqlQueryPlatformBase
val Api: Api

Attributes

Inherited from:
QueryPlatform

Attributes

Inherited from:
SqlDbValuesBase
val DbMath: DbMath

Attributes

Inherited from:
SqlDbValuesBase

Attributes

Inherited from:
SqlDbValuesBase
protected val Impl: Impl

Attributes

Inherited from:
SqlQueryPlatformBase

Attributes

Inherited from:
QueryPlatform

Attributes

Inherited from:
QueryPlatform

Attributes

Inherited from:
QueryPlatform

Attributes

Inherited from:
QueryPlatform

Attributes

Inherited from:
QueryPlatform

Attributes

Inherited from:
QueryPlatform

Attributes

Inherited from:
QueryPlatform

Attributes

Inherited from:
SqlQueryPlatformBase

Extensions

Extensions

extension [A](optVal: DbValue[Option[A]])(using ev: NotGiven[A <:< Option[_]])
def filter(f: (DbValue[A]) => DbValue[Boolean]): DbValue[Option[A]]
def flatMap[B](f: (DbValue[A]) => DbValue[Option[B]]): DbValue[Option[B]]
def getOrElse(other: DbValue[A]): DbValue[A]
def map[B](f: (DbValue[A]) => DbValue[B]): DbValue[Option[B]]
def orElse(other: DbValue[Option[A]]): DbValue[Option[A]]
def unsafeGet: DbValue[A]
extension [T](t: T)(using mr: MapRes[Many, T])
def mapManyN[B](f: (mr.K[DbValue]) => DbValue[B]): Many[B]
extension [T](t: T)(using mr: MapRes[Compose2[DbValue, Option], T])
def mapNullableN[B](f: (mr.K[DbValue]) => DbValue[B]): DbValue[Option[B]]
extension [A](v: A)
override def as(tpe: Type[A]): DbValue[A]

Attributes

Definition Classes
override def asNullable(tpe: Type[A])(using NotGiven[A <:< Option[_]]): DbValue[Option[A]]

Attributes

Definition Classes

Inherited extensions

extension [A](t: CastType[A])

Attributes

Inherited from:
SqlDbValuesBase
def castTypeType: Type[A]

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
SqlQueryPlatformBase
extension [A](tpe: Type[Option[A]])

Attributes

Inherited from:
SqlQueryPlatformBase