io.getquill

package io.getquill

Members list

Type members

Classlikes

case class CaseClassLift[T](entity: Quoted[T], uid: String) extends QuotationLot[T]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait QuotationLot[T]
trait Unquoteable
class Object
trait Matchable
class Any
Show all
object DynamicAction

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait DynamicAction[A <: Action[_]]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class DynamicActionReturning[E, Output]
class DynamicDelete[E]
trait DynamicInsert[E]
class DynamicUpdate[E]
case class DynamicActionReturning[E, Output](q: Quoted[ActionReturning[E, Output]]) extends DynamicAction[ActionReturning[E, Output]]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait DynamicAction[ActionReturning[E, Output]]
class Object
trait Matchable
class Any
Show all
case class DynamicAlias[T](property: Quoted[T] => Quoted[Any], name: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class DynamicDelete[E](q: Quoted[Delete[E]]) extends DynamicAction[Delete[E]]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait DynamicAction[Delete[E]]
class Object
trait Matchable
class Any
Show all
case class DynamicEntityQuery[T](q: Quoted[EntityQuery[T]]) extends DynamicQuery[T]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class DynamicQuery[T]
class Object
trait Matchable
class Any
Show all
object DynamicInsert

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait DynamicInsert[E] extends DynamicAction[Insert[E]]

Attributes

Companion
object
Supertypes
trait DynamicAction[Insert[E]]
class Object
trait Matchable
class Any
case class DynamicJoinQuery[A, B, R](tpe: JoinType, q1: Quoted[Query[A]], q2: Quoted[Query[B]])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object DynamicQuery

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
sealed class DynamicQuery[+T](val q: Quoted[Query[T]])

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
sealed trait DynamicSet[T, U]

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class DynamicSetEmpty[T, U]
class DynamicSetValue[T, U]
case class DynamicSetEmpty[T, U]() extends DynamicSet[T, U]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait DynamicSet[T, U]
class Object
trait Matchable
class Any
Show all
case class DynamicSetValue[T, U](property: Quoted[T] => Quoted[U], value: Quoted[U]) extends DynamicSet[T, U]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait DynamicSet[T, U]
class Object
trait Matchable
class Any
Show all
case class DynamicUpdate[E](q: Quoted[Update[E]]) extends DynamicAction[Update[E]]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait DynamicAction[Update[E]]
class Object
trait Matchable
class Any
Show all
case class EagerEntitiesPlanter[T, PrepareRow, Session](value: Iterable[T], uid: String, fieldGetters: List[InjectableEagerPlanter[_, PrepareRow, Session]], fieldClass: CaseClass) extends Planter[Query[T], PrepareRow, Session]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Planter[Query[T], PrepareRow, Session]
trait Unquoteable
class Object
trait Matchable
class Any
Show all
case class EagerListPlanter[T, PrepareRow, Session](values: List[T], encoder: GenericEncoder[T, PrepareRow, Session], uid: String) extends Planter[Query[T], PrepareRow, Session]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Planter[Query[T], PrepareRow, Session]
trait Unquoteable
class Object
trait Matchable
class Any
Show all
case class EagerPlanter[T, PrepareRow, Session](value: T, encoder: GenericEncoder[T, PrepareRow, Session], uid: String) extends Planter[T, PrepareRow, Session]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Planter[T, PrepareRow, Session]
trait Unquoteable
class Object
trait Matchable
class Any
Show all
trait Embedable[T]

Attributes

Supertypes
class Object
trait Matchable
class Any
object EntityQuery

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait EntityQuery[T] extends EntityQueryModel[T], Unquoteable

Attributes

Companion
object
Supertypes
trait Unquoteable
trait EntityQueryModel[T]
trait Query[T]
trait QAC[Nothing, T]
class Object
trait Matchable
class Any
Show all
trait FromString[T]

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait StringCodec[T]
object SpliceDate.type
object SpliceDouble.type
object SpliceFloat.type
object SpliceInt.type
object SpliceLocalDate.type
object SpliceLocalDateTime.type
object SpliceLong.type
object SpliceShort.type
object SpliceString.type
Show all
implicit class InfixInterpolator(val sc: StringContext)

Attributes

Supertypes
class Object
trait Matchable
class Any
case class InjectableEagerPlanter[T, PrepareRow, Session](inject: () => T, encoder: GenericEncoder[T, PrepareRow, Session], uid: String) extends Planter[T, PrepareRow, Session]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Planter[T, PrepareRow, Session]
trait Unquoteable
class Object
trait Matchable
class Any
Show all
case class InsertMeta[T](entity: Quoted[T], uid: String) extends QuotationLot[T]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait QuotationLot[T]
trait Unquoteable
class Object
trait Matchable
class Any
Show all
case class LazyPlanter[T, PrepareRow, Session](value: T, uid: String) extends Planter[T, PrepareRow, Session]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Planter[T, PrepareRow, Session]
trait Unquoteable
class Object
trait Matchable
class Any
Show all
trait MirrorColumnResolving[+Dialect <: Idiom, +Naming <: NamingStrategy]

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
MirrorContextBase[Dialect, Naming]
class MirrorContext[+Dialect <: Idiom, +Naming <: NamingStrategy](val idiom: Dialect, val naming: Naming, val session: MirrorSession) extends MirrorContextBase[Dialect, Naming], AstSplicing

Attributes

Supertypes
trait AstSplicing
trait MirrorContextBase[Dialect, Naming]
trait ContextVerbTranslate[Dialect, Naming]
trait ContextTranslateMacro[Dialect, Naming]
trait ContextTranslateProto[Dialect, Naming]
trait ContextVerbPrepare[Dialect, Naming]
trait Context[Dialect, Naming]
trait Closeable
trait AutoCloseable
trait EncodingDsl
trait ProtoContextSecundus[Dialect, Naming]
trait RowContext
class Object
trait Matchable
class Any
Show all
trait MirrorContextBase[+Dialect <: Idiom, +Naming <: NamingStrategy] extends Context[Dialect, Naming], ContextVerbPrepare[Dialect, Naming], ContextVerbTranslate[Dialect, Naming], MirrorDecoders, MirrorEncoders

Attributes

Supertypes
trait ContextVerbTranslate[Dialect, Naming]
trait ContextTranslateMacro[Dialect, Naming]
trait ContextTranslateProto[Dialect, Naming]
trait ContextVerbPrepare[Dialect, Naming]
trait Context[Dialect, Naming]
trait Closeable
trait AutoCloseable
trait EncodingDsl
trait ProtoContextSecundus[Dialect, Naming]
trait RowContext
class Object
trait Matchable
class Any
Show all
Known subtypes
class MirrorContext[Dialect, Naming]
class SqlMirrorContext[Idiom, Naming]
Self type
MirrorContextBase[Dialect, Naming]

TODO Not needed now since elabration does not do OntoAst?

TODO Not needed now since elabration does not do OntoAst?

Attributes

Companion
object
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
enum
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait Planter[T, PrepareRow, Session] extends Unquoteable

Attributes

Supertypes
trait Unquoteable
class Object
trait Matchable
class Any
Known subtypes
class EagerEntitiesPlanter[T, PrepareRow, Session]
class EagerListPlanter[T, PrepareRow, Session]
class EagerPlanter[T, PrepareRow, Session]
class InjectableEagerPlanter[T, PrepareRow, Session]
class LazyPlanter[T, PrepareRow, Session]
case class QueryMeta[T, R](entity: Quoted[Query[T] => Query[R]], uid: String, extract: R => T) extends QuotationLot[Query[T] => Query[R]]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait QuotationLot[Query[T] => Query[R]]
trait Unquoteable
class Object
trait Matchable
class Any
Show all
sealed trait QuotationLot[+T](uid: String) extends Unquoteable

Attributes

Supertypes
trait Unquoteable
class Object
trait Matchable
class Any
Known subtypes
class CaseClassLift[T]
class InsertMeta[T]
class QueryMeta[T, R]
class SchemaMeta[T]
class Unquote[T]
class UpdateMeta[T]
Show all
case class QuotationVase(quoted: Quoted[Any], uid: String) extends Unquoteable

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Unquoteable
class Object
trait Matchable
class Any
Show all
class Quoted[+T](val ast: Ast, val lifts: List[Planter[_, _, _]], val runtimeQuotes: List[QuotationVase])

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object Quoted

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Quoted.type
case class SchemaMeta[T](entity: Quoted[EntityQuery[T]], uid: String) extends QuotationLot[EntityQuery[T]]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Unquoteable
class Object
trait Matchable
class Any
Show all
object SpliceDate extends StringCodec[Date]

Attributes

Supertypes
trait StringCodec[Date]
trait ToSql[Date]
trait FromString[Date]
trait ToString[Date]
class Object
trait Matchable
class Any
Show all
Self type
SpliceDate.type
object SpliceDouble extends StringCodec[Double]

Attributes

Supertypes
trait StringCodec[Double]
trait ToSql[Double]
trait FromString[Double]
trait ToString[Double]
class Object
trait Matchable
class Any
Show all
Self type
object SpliceFloat extends StringCodec[Float]

Attributes

Supertypes
trait StringCodec[Float]
trait ToSql[Float]
trait FromString[Float]
trait ToString[Float]
class Object
trait Matchable
class Any
Show all
Self type
object SpliceInt extends StringCodec[Int]

Attributes

Supertypes
trait StringCodec[Int]
trait ToSql[Int]
trait FromString[Int]
trait ToString[Int]
class Object
trait Matchable
class Any
Show all
Self type
SpliceInt.type
object SpliceLocalDate extends StringCodec[LocalDate]

Attributes

Supertypes
trait StringCodec[LocalDate]
trait ToSql[LocalDate]
trait FromString[LocalDate]
trait ToString[LocalDate]
class Object
trait Matchable
class Any
Show all
Self type
object SpliceLocalDateTime extends StringCodec[LocalDateTime]

Attributes

Supertypes
trait StringCodec[LocalDateTime]
trait ToSql[LocalDateTime]
trait FromString[LocalDateTime]
trait ToString[LocalDateTime]
class Object
trait Matchable
class Any
Show all
Self type
object SpliceLong extends StringCodec[Long]

Attributes

Supertypes
trait StringCodec[Long]
trait ToSql[Long]
trait FromString[Long]
trait ToString[Long]
class Object
trait Matchable
class Any
Show all
Self type
SpliceLong.type
object SpliceShort extends StringCodec[Short]

Attributes

Supertypes
trait StringCodec[Short]
trait ToSql[Short]
trait FromString[Short]
trait ToString[Short]
class Object
trait Matchable
class Any
Show all
Self type
object SpliceString extends StringCodec[String]

Attributes

Supertypes
trait StringCodec[String]
trait ToSql[String]
trait FromString[String]
trait ToString[String]
class Object
trait Matchable
class Any
Show all
Self type
implicit class SqlInfixInterpolator(val sc: StringContext)

Attributes

Supertypes
class Object
trait Matchable
class Any
class SqlMirrorContext[+Idiom <: Idiom, +Naming <: NamingStrategy](val idiom: Idiom, val naming: Naming) extends MirrorContextBase[Idiom, Naming], AstSplicing, SqlContext[Idiom, Naming], ArrayMirrorEncoding

Workaround for IntelliJ SCL-20185. Inheriting MirrorContextBase directly so that run methods have autocomplete.

Workaround for IntelliJ SCL-20185. Inheriting MirrorContextBase directly so that run methods have autocomplete.

Attributes

Supertypes
trait SqlContext[Idiom, Naming]
trait AstSplicing
trait MirrorContextBase[Idiom, Naming]
trait ContextVerbTranslate[Idiom, Naming]
trait ContextTranslateMacro[Idiom, Naming]
trait ContextTranslateProto[Idiom, Naming]
trait ContextVerbPrepare[Idiom, Naming]
trait Context[Idiom, Naming]
trait Closeable
trait AutoCloseable
trait EncodingDsl
trait ProtoContextSecundus[Idiom, Naming]
trait RowContext
class Object
trait Matchable
class Any
Show all
trait StringCodec[T] extends ToString[T], FromString[T], ToSql[T]

Attributes

Companion
object
Supertypes
trait ToSql[T]
trait FromString[T]
trait ToString[T]
class Object
trait Matchable
class Any
Show all
Known subtypes
object SpliceDate.type
object SpliceDouble.type
object SpliceFloat.type
object SpliceInt.type
object SpliceLocalDate.type
object SpliceLocalDateTime.type
object SpliceLong.type
object SpliceShort.type
object SpliceString.type
Show all
object StringCodec

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
implicit class ToDynamicAction[T](q: Quoted[Action[T]])

Attributes

Supertypes
class Object
trait Matchable
class Any
implicit class ToDynamicActionReturning[T, U](q: Quoted[ActionReturning[T, U]])

Attributes

Supertypes
class Object
trait Matchable
class Any
implicit class ToDynamicEntityQuery[T](q: Quoted[EntityQuery[T]])

Attributes

Supertypes
class Object
trait Matchable
class Any
implicit class ToDynamicInsert[T](q: Quoted[Insert[T]])

Attributes

Supertypes
class Object
trait Matchable
class Any
implicit class ToDynamicQuery[T](q: Quoted[Query[T]])

Attributes

Supertypes
class Object
trait Matchable
class Any
implicit class ToDynamicUpdate[T](q: Quoted[Update[T]])

Attributes

Supertypes
class Object
trait Matchable
class Any
trait ToSql[T]

Trait that allows usage of 'static' block. Can declared one of these and use similar to encoders but it needs to be compiled in a previous compilation unit and a global static. TODO More explanation

Trait that allows usage of 'static' block. Can declared one of these and use similar to encoders but it needs to be compiled in a previous compilation unit and a global static. TODO More explanation

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait StringCodec[T]
object SpliceDate.type
object SpliceDouble.type
object SpliceFloat.type
object SpliceInt.type
object SpliceLocalDate.type
object SpliceLocalDateTime.type
object SpliceLong.type
object SpliceShort.type
object SpliceString.type
Show all
trait ToString[T]

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait StringCodec[T]
object SpliceDate.type
object SpliceDouble.type
object SpliceFloat.type
object SpliceInt.type
object SpliceLocalDate.type
object SpliceLocalDateTime.type
object SpliceLong.type
object SpliceShort.type
object SpliceString.type
Show all
trait Udt

Attributes

Supertypes
class Object
trait Matchable
class Any
case class Unquote[+T](quoted: Quoted[T], uid: String) extends QuotationLot[T]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait QuotationLot[T]
trait Unquoteable
class Object
trait Matchable
class Any
Show all
sealed trait Unquoteable

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait EntityQuery[T]
trait Planter[T, PrepareRow, Session]
class EagerEntitiesPlanter[T, PrepareRow, Session]
class EagerListPlanter[T, PrepareRow, Session]
class EagerPlanter[T, PrepareRow, Session]
class InjectableEagerPlanter[T, PrepareRow, Session]
class LazyPlanter[T, PrepareRow, Session]
trait QuotationLot[T]
class CaseClassLift[T]
class InsertMeta[T]
class QueryMeta[T, R]
class SchemaMeta[T]
class Unquote[T]
class UpdateMeta[T]
Show all
case class UpdateMeta[T](entity: Quoted[T], uid: String) extends QuotationLot[T]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait QuotationLot[T]
trait Unquoteable
class Object
trait Matchable
class Any
Show all
trait UpperCaseEscapeColumn extends NamingStrategy

Attributes

Companion
object
Supertypes
trait NamingStrategy
class Object
trait Matchable
class Any
Known subtypes
object UpperCaseEscapeColumn.type

Attributes

Companion
trait
Supertypes
trait NamingStrategy
class Object
trait Matchable
class Any
Self type
trait UpperCaseNonDefault extends NamingStrategy

Attributes

Companion
object
Supertypes
trait NamingStrategy
class Object
trait Matchable
class Any
Known subtypes
object UpperCaseNonDefault.type

Attributes

Companion
trait
Supertypes
trait NamingStrategy
class Object
trait Matchable
class Any
Self type
object compat

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
compat.type
object extras extends DateOps

Attributes

Supertypes
trait DateOps
class Object
trait Matchable
class Any
Self type
extras.type

Value members

Concrete methods

def alias[T](property: Quoted[T] => Quoted[Any], name: String): DynamicAlias[T]
def avg[A](a: A)(implicit n: Numeric[A]): BigDecimal
def avg[A](a: Option[A])(implicit n: Numeric[A]): Option[BigDecimal]
def count[A](a: A): A
inline def dynamicQuery[T]: DynamicEntityQuery[T]
inline def dynamicQuerySchema[T](entity: String, columns: DynamicAlias[T]*): DynamicEntityQuery[T]
inline def insertMeta[T](inline exclude: T => Any*): InsertMeta[T]
inline def lazyLift[T](inline vv: T): T
def max[A](a: A): A
def min[A](a: A): A
inline def query[T]: EntityQuery[T]
inline def queryMeta[T, R](inline expand: Quoted[Query[T] => Query[R]])(inline extract: R => T): QueryMeta[T, R]
def querySchema[T](entity: String, columns: T => (Any, String)*): EntityQuery[T]
inline def quote[T](inline bodyExpr: Quoted[T]): Quoted[T]
inline def quote[T](inline bodyExpr: T): Quoted[T]
inline def schemaMeta[T](inline entity: String, inline columns: T => (Any, String)*): SchemaMeta[T]
inline def select[T]: Query[T]
def set[T, U](property: Quoted[T] => Quoted[U], value: Quoted[U]): DynamicSet[T, U]
def set[T, U](property: String, value: Quoted[U]): DynamicSet[T, U]
def setOpt[T, U](property: Quoted[T] => Quoted[U], value: Option[U])(implicit enc: GenericEncoder[U, _, _]): DynamicSet[T, U]
def setValue[T, U](property: Quoted[T] => Quoted[U], value: U)(implicit enc: GenericEncoder[U, _, _]): DynamicSet[T, U]
def setValue[T, U](property: String, value: U)(implicit enc: GenericEncoder[U, _, _]): DynamicSet[T, U]
inline def static[T](inline value: T): T
def sum[A](a: A)(implicit n: Numeric[A]): A
def sum[A](a: Option[A])(implicit n: Numeric[A]): Option[A]
inline def updateMeta[T](inline exclude: T => Any*): UpdateMeta[T]

Extensions

Extensions

extension [T](o: Option[T])
def filterIfDefined(f: T => Boolean): Boolean
extension [T](inline quotedEntity: Quoted[EntityQuery[T]])
inline def insert(inline f: T => (Any, Any), inline f2: T => (Any, Any)*): Insert[T]
inline def update(inline f: T => (Any, Any), inline f2: T => (Any, Any)*): Update[T]
extension (str: String)
def like(other: String): Boolean

Implicits

Implicits

final implicit def InfixInterpolator(sc: StringContext): InfixInterpolator
final implicit def SqlInfixInterpolator(sc: StringContext): SqlInfixInterpolator
final implicit def ToDynamicAction[T](q: Quoted[Action[T]]): ToDynamicAction[T]
final implicit def ToDynamicActionReturning[T, U](q: Quoted[ActionReturning[T, U]]): ToDynamicActionReturning[T, U]
final implicit def ToDynamicEntityQuery[T](q: Quoted[EntityQuery[T]]): ToDynamicEntityQuery[T]
final implicit def ToDynamicInsert[T](q: Quoted[Insert[T]]): ToDynamicInsert[T]
final implicit def ToDynamicQuery[T](q: Quoted[Query[T]]): ToDynamicQuery[T]
final implicit def ToDynamicUpdate[T](q: Quoted[Update[T]]): ToDynamicUpdate[T]
implicit inline def autoQuote[T](inline body: T): Quoted[T]
implicit inline def dateCodec: StringCodec[Date]
implicit inline def doubleCodec: StringCodec[Double]
implicit inline def dynamicUnquote[T](inline d: DynamicQuery[T]): Query[T]
implicit inline def floatCodec: StringCodec[Float]
implicit def implicitOrd[T]: Ord[T]

Automatic implicit ordering DSL for: query[Person].sortBy(_.field)(<here>)

Automatic implicit ordering DSL for: query[Person].sortBy(_.field)(<here>)

Attributes

implicit inline def intCodec: StringCodec[Int]
implicit inline def localDateCodec: StringCodec[LocalDate]
implicit inline def localDateTimeCodec: StringCodec[LocalDateTime]
implicit inline def longCodec: ToString[Long]
implicit inline def shortCodec: StringCodec[Short]
implicit inline def stringCodec: StringCodec[String]
implicit inline def toQuoted[T](inline q: DynamicQuery[T]): Quoted[Query[T]]
implicit inline def toQuoted[T](inline q: DynamicEntityQuery[T]): Quoted[EntityQuery[T]]
implicit inline def toQuoted[T <: Action[_]](inline q: DynamicAction[T]): Quoted[T]
implicit inline def unquote[T](inline quoted: Quoted[T]): T