SqlDbValuesBase

dataprism.platform.sql.value.SqlDbValuesBase

Attributes

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

Members list

Type members

Classlikes

trait BinOp[LHS, RHS, R]

Attributes

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

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Many
object Nullability

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait Nullability[A] extends NullabilityBase[A]

Attributes

Companion
object
Supertypes
trait NullabilityBase[A]
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
trait SqlDbValueBase[A] extends DbValueBase[A]

Attributes

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

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait SqlFractionalBase[A] extends SqlNumericBase[A]

Attributes

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

Supertypes
trait SqlNumericBase[A]
trait SqlOrderedBase[A]
class Object
trait Matchable
class Any
Known subtypes
trait SqlIntegral[A]
trait SqlLogicBase[A]

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait SqlLogic[A]
trait SqlNumericBase[A] extends SqlOrderedBase[A]

Attributes

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

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

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

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait UnaryOp[V, R]

Attributes

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

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait ValueCase1[A, B]

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class DefaultValueCase1[A, B]

Inherited classlikes

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
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:
SqlQueryPlatformBase
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class TaggedState

Types

type AnyDbValue <: DbValue[Any]
type CastType[A]
type DbMath
override type DbValue[A] <: SqlDbValueBase[A]
type Many[A]
type NullabilityOf[A] = A match { case Option[b] => Aux[A, b, Option] case Any => Aux[A, A, Id] }
type SqlLogic[A] <: SqlLogicBase[A]
type SqlNumeric[A] <: SqlNumericBase[A] & SqlOrdered[A]
type SqlOrdered[A] <: SqlOrderedBase[A]

Inherited types

type Codec[_]

Attributes

Inherited from:
SqlQueryPlatformBase
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 Nullable[A] = A match { case Option[b] => Option[b] case Any => Option[A] }

Attributes

Inherited from:
QueryPlatform
type Ord <: OrdSeq

Attributes

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

Inherited methods

protected def freshTaggedState: TaggedState

Attributes

Inherited from:
SqlQueryPlatformBase

Inherited fields

Attributes

Inherited from:
SqlQueryPlatformBase
val Api: Api

Attributes

Inherited from:
QueryPlatform
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 [A](t: CastType[A])
def castTypeType: Type[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)
def as(tpe: Type[A]): DbValue[A]
def asNullable(tpe: Type[A])(using NotGiven[A <:< Option[_]]): DbValue[Option[A]]

Inherited extensions

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