dataprism.sql

package dataprism.sql

Members list

Type members

Classlikes

trait AnsiTypes[Codec[_]]

Attributes

Source
AnsiTypes.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait CatsDb[F[_], Codec[_]] extends Db[F, Codec]

Attributes

Source
CatsDb.scala
Supertypes
trait Db[F, Codec]
class Object
trait Matchable
class Any
Known subtypes
trait CatsTransactionDb[F, Codec]
trait CatsTransactionalDb[F, Codec]
class CatsDataSourceDb[F]
class Fs2DataSourceDb[F]
trait Fs2Db[F, Codec]
class SkunkSessionDb[F]
Show all
trait CatsTransactionDb[F[_], Codec[_]] extends CatsDb[F, Codec], TransactionDb[F, Codec]

Attributes

Source
CatsTransactionDb.scala
Supertypes
trait TransactionDb[F, Codec]
trait CatsDb[F, Codec]
trait Db[F, Codec]
class Object
trait Matchable
class Any
Show all
Known subtypes
trait CatsTransactionalDb[F[_], Codec[_]] extends CatsDb[F, Codec], TransactionalDb[F, Codec]

Attributes

Source
CatsTransactionalDb.scala
Supertypes
trait TransactionalDb[F, Codec]
trait CatsDb[F, Codec]
trait Db[F, Codec]
class Object
trait Matchable
class Any
Show all
Known subtypes
case class Column[Codec[_], A](nameStr: String, tpe: SelectedType[Codec, A])

Attributes

Source
Column.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait Db[F[_], Codec[_]]

Attributes

Source
Db.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait ConnectionDb[F]
class CatsDataSourceDb[F]
class Fs2DataSourceDb[F]
trait DataSourceDb[F]
trait CatsDb[F, Codec]
trait CatsTransactionDb[F, Codec]
trait CatsTransactionalDb[F, Codec]
trait Fs2Db[F, Codec]
class SkunkSessionDb[F]
trait TransactionDb[F, Codec]
trait TransactionalDb[F, Codec]
Show all
Self type
Db[F, Codec]
trait Fs2Db[F[_], Codec[_]] extends CatsDb[F, Codec]

Attributes

Source
Fs2Db.scala
Supertypes
trait CatsDb[F, Codec]
trait Db[F, Codec]
class Object
trait Matchable
class Any
Known subtypes
case class NotNullArrayType[Codec[_], Arr[_], A, DimensionE <: Int](codec: Codec[Arr[A]], choice: NullabilityTypeChoice[Codec, Arr[A], 1 + DimensionE], element: SelectedType[Codec, A] { type Dimension = DimensionE; }) extends SelectedType[Codec, Arr[A]]

Attributes

Source
types.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait SelectedType[Codec, Arr[A]]
class Object
trait Matchable
class Any
Show all
Self type
NotNullArrayType[Codec, Arr, A, DimensionE]
case class NotNullType[Codec[_], A](codec: Codec[A], choice: NullabilityTypeChoice[Codec, A, 0]) extends SelectedType[Codec, A]

Attributes

Source
types.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait SelectedType[Codec, A]
class Object
trait Matchable
class Any
Show all
trait NullabilityTypeChoice[Codec[_], A, Dimension0 <: Int] extends SelectedType[Codec, A]

Attributes

Companion
object
Source
types.scala
Supertypes
trait SelectedType[Codec, A]
class Object
trait Matchable
class Any
Known subtypes
class NullabilityTypeChoiceArr[Codec, Arr, A, DimensionE]
class NullabilityTypeChoiceNoArr[Codec, A]

Attributes

Companion
trait
Source
types.scala
Supertypes
class Object
trait Matchable
class Any
Self type
class NullabilityTypeChoiceArr[Codec[_], Arr[_], A, DimensionE <: Int](notNullCodec: Codec[Arr[A]], nullableCodec: Codec[Option[Arr[A]]], element: SelectedType[Codec, A] { type Dimension = DimensionE; }) extends NullabilityTypeChoice[Codec, Arr[A], 1 + DimensionE]

Attributes

Source
types.scala
Supertypes
trait NullabilityTypeChoice[Codec, Arr[A], 1 + DimensionE]
trait SelectedType[Codec, Arr[A]]
class Object
trait Matchable
class Any
Self type
NullabilityTypeChoiceArr[Codec, Arr, A, DimensionE]
class NullabilityTypeChoiceNoArr[Codec[_], A](notNullCodec: Codec[A], nullableCodec: Codec[Option[A]]) extends NullabilityTypeChoice[Codec, A, 0]

Attributes

Source
types.scala
Supertypes
trait NullabilityTypeChoice[Codec, A, 0]
trait SelectedType[Codec, A]
class Object
trait Matchable
class Any
Self type
case class NullableArrayType[Codec[_], Arr[_], A, DimensionE <: Int](codec: Codec[Option[Arr[A]]], choice: NullabilityTypeChoice[Codec, Arr[A], 1 + DimensionE], element: SelectedType[Codec, A] { type Dimension = DimensionE; }) extends SelectedType[Codec, Option[Arr[A]]]

Attributes

Source
types.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait SelectedType[Codec, Option[Arr[A]]]
class Object
trait Matchable
class Any
Show all
Self type
NullableArrayType[Codec, Arr, A, DimensionE]
case class NullableType[Codec[_], A](codec: Codec[Option[A]], choice: NullabilityTypeChoice[Codec, A, 0]) extends SelectedType[Codec, Option[A]]

Attributes

Source
types.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait SelectedType[Codec, Option[A]]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
object
Source
ResourceManager.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Storing

Attributes

Companion
trait
Source
ResourceManager.scala
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait SelectedType[Codec[_], A]

Attributes

Source
types.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class NotNullArrayType[Codec, Arr, A, DimensionE]
class NotNullType[Codec, A]
trait NullabilityTypeChoice[Codec, A, Dimension0]
class NullabilityTypeChoiceArr[Codec, Arr, A, DimensionE]
class NullabilityTypeChoiceNoArr[Codec, A]
class NullableArrayType[Codec, Arr, A, DimensionE]
class NullableType[Codec, A]
Show all
Self type
SelectedType[Codec, A]
trait SqlArg[+Codec[_]]

Attributes

Companion
object
Source
SqlArg.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class CompileArg[A0, Codec]
class SqlArgObj[A0, Codec]
object SqlArg

Attributes

Companion
trait
Source
SqlArg.scala
Supertypes
class Object
trait Matchable
class Any
Self type
SqlArg.type
trait SqlInterpolation[Type[_]]

Attributes

Source
syntax.scala
Supertypes
class Object
trait Matchable
class Any
case class SqlStr[+Type[_]](str: String, args: Seq[SqlArg[Type]])

Attributes

Companion
object
Source
SqlStr.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object SqlStr

Attributes

Companion
class
Source
SqlStr.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
SqlStr.type
case class Table[Codec[_], A[_[_]]](tableName: String, columns: A[[X] =>> Column[Codec, X]])(using FA: ApplyKC[A], FT: TraverseKC[A])

Attributes

Source
Table.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait TransactionDb[F[_], Codec[_]] extends Db[F, Codec]

Attributes

Source
TransactionDb.scala
Supertypes
trait Db[F, Codec]
class Object
trait Matchable
class Any
Known subtypes
trait TransactionalDb[F[_], Codec[_]] extends Db[F, Codec]

Attributes

Source
TransactionalDb.scala
Supertypes
trait Db[F, Codec]
class Object
trait Matchable
class Any
Known subtypes
trait DataSourceDb[F]
trait CatsTransactionalDb[F, Codec]
class CatsDataSourceDb[F]
class Fs2DataSourceDb[F]
class named(name: String) extends StaticAnnotation

Attributes

Source
named.scala
Supertypes
class Annotation
class Object
trait Matchable
class Any

Extensions

Extensions

extension [A, Codec[_]](a: A)(using SqlInterpolation[Codec])
def asArg(tpe: Codec[A]): SqlArg[Codec]

Attributes

Source
syntax.scala
extension [A, Codec[_]](a: Seq[A])(using SqlInterpolation[Codec])
def asBatchArg(tpe: Codec[A]): SqlArg[Codec]

Attributes

Source
syntax.scala
extension (sc: StringContext)
def sql[Type[_]](args: (SqlInterpolation[Type]) ?=> SqlArg[Type] | SqlStr[Type]*): SqlStr[Type]

Attributes

Source
syntax.scala