SqlDbValue

dataprism.platform.sql.value.SqlDbValues.SqlDbValue
enum SqlDbValue[A] extends SqlDbValueBaseImpl[A]

Attributes

Source
SqlDbValues.scala
Graph
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

Members list

Type members

Enum entries

final case class AsSome[B](value: DbValue[B], ev: NotGiven[B <:< Option[_]]) extends SqlDbValue[Option[B]]

Attributes

Source
SqlDbValues.scala
final case class BinOp[B, C, R](lhs: DbValue[B], rhs: DbValue[C], op: BinOp[B, C, R]) extends SqlDbValue[R]

Attributes

Source
SqlDbValues.scala
final case class Cast[A](value: AnyDbValue, typeName: String, tpe: Type[A])

Attributes

Source
SqlDbValues.scala
final case class CompilePlaceholder[A](identifier: Object, tpe: Type[A])

Attributes

Source
SqlDbValues.scala
final case class ConditionCase[A](cases: IndexedSeq[(DbValue[Boolean], DbValue[A])], orElse: DbValue[A])

Attributes

Source
SqlDbValues.scala
final case class Custom[A](args: Seq[AnyDbValue], render: (Seq[SqlStr[Codec]]) => SqlStr[Codec], tpe: Type[A])

Attributes

Source
SqlDbValues.scala
case case False extends SqlDbValue[Boolean]

Attributes

Source
SqlDbValues.scala
final case class Function[A](name: FunctionName, values: Seq[AnyDbValue], tpe: Type[A])

Attributes

Source
SqlDbValues.scala
final case class GetNullable[A](value: DbValue[Option[A]], ev: NotGiven[A <:< Option[_]])

Attributes

Source
SqlDbValues.scala
final case class InQuery[B, R](v: DbValue[B], query: Query[IdFC[B]], tpe: Type[R]) extends SqlDbValue[R]

Attributes

Source
SqlDbValues.scala
final case class InValues[B, R](v: DbValue[B], values: Seq[DbValue[B]], tpe: Type[R]) extends SqlDbValue[R]

Attributes

Source
SqlDbValues.scala
final case class IsNotNull[B](value: DbValue[Option[B]]) extends SqlDbValue[Boolean]

Attributes

Source
SqlDbValues.scala
final case class IsNull[B](value: DbValue[Option[B]]) extends SqlDbValue[Boolean]

Attributes

Source
SqlDbValues.scala
final case class JoinNullable[B](value: DbValue[B]) extends SqlDbValue[Nullable[B]]

Attributes

Source
SqlDbValues.scala
final case class NotInQuery[B, R](v: DbValue[B], query: Query[IdFC[B]], tpe: Type[R]) extends SqlDbValue[R]

Attributes

Source
SqlDbValues.scala
final case class NotInValues[B, R](v: DbValue[B], values: Seq[DbValue[B]], tpe: Type[R]) extends SqlDbValue[R]

Attributes

Source
SqlDbValues.scala
final case class Null[B](baseTpe: Type[B], ev: NotGiven[B <:< Option[_]]) extends SqlDbValue[Option[B]]

Attributes

Source
SqlDbValues.scala
final case class Placeholder[A](valueSeq: Seq[A], tpe: Type[A])

Attributes

Source
SqlDbValues.scala
final case class QueryColumn[A](queryName: String, fromName: String, tpe: Type[A])

Attributes

Source
SqlDbValues.scala
case case QueryCount extends SqlDbValue[Long]

Attributes

Source
SqlDbValues.scala
final case class SubSelect[A](query: Query[IdFC[A]])

Attributes

Source
SqlDbValues.scala
case case True extends SqlDbValue[Boolean]

Attributes

Source
SqlDbValues.scala
final case class UnaryOp[B, R](value: DbValue[B], op: UnaryOp[B, R]) extends SqlDbValue[R]

Attributes

Source
SqlDbValues.scala
final case class ValueCase[V, R](matchOn: DbValue[V], cases: IndexedSeq[(DbValue[V], DbValue[R])], orElse: DbValue[R]) extends SqlDbValue[R]

Attributes

Source
SqlDbValues.scala