io.getquill

package io.getquill

Members list

Concise view

Type members

Classlikes

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

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait QuotationLot[T]
class Object
trait Matchable
class Any

Attributes

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

Attributes

Companion:
object
Graph
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

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

Attributes

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

Attributes

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

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class DynamicQuery[T]
class Object
trait Matchable
class Any

Attributes

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

Attributes

Companion:
object
Graph
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

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

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

Attributes

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

Attributes

Graph
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

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

Attributes

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

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DynamicAction[Update[E]]
class Object
trait Matchable
class Any
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

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

Attributes

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

Attributes

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

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

Attributes

Companion:
object
Graph
Supertypes
trait EntityQueryModel[T]
trait Query[T]
trait QAC[Nothing, T]
class Object
trait Matchable
class Any
trait FromString[T]

Attributes

Graph
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 SpliceLong.type
object SpliceShort.type
object SpliceString.type
implicit class InfixInterpolator(val sc: StringContext)

Attributes

Graph
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

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

Attributes

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

Attributes

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

Attributes

Graph
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] with AstSplicing

Attributes

Graph
Supertypes
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 ProtoContextSecundus[Dialect, Naming]
trait RowContext
class Object
trait Matchable
class Any
trait MirrorContextBase[+Dialect <: Idiom, +Naming <: NamingStrategy] extends Context[Dialect, Naming] with ContextVerbPrepare[Dialect, Naming] with ContextVerbTranslate[Dialect, Naming] with MirrorDecoders with MirrorEncoders

Attributes

Graph
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 ProtoContextSecundus[Dialect, Naming]
trait RowContext
class Object
trait Matchable
class Any
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
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

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

Attributes

Graph
Supertypes
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

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

Attributes

Graph
Supertypes
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]
case class QuotationVase(quoted: Quoted[Any], uid: String) extends Unquoteable

Attributes

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

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
object Quoted

Attributes

Companion:
class
Graph
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

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

Attributes

Graph
Supertypes
trait StringCodec[Date]
trait ToSql[Date]
trait FromString[Date]
trait ToString[Date]
class Object
trait Matchable
class Any
Self type
object SpliceDouble extends StringCodec[Double]

Attributes

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

Attributes

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

Attributes

Graph
Supertypes
trait StringCodec[Int]
trait ToSql[Int]
trait FromString[Int]
trait ToString[Int]
class Object
trait Matchable
class Any
Self type
object SpliceLocalDate extends StringCodec[LocalDate]

Attributes

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

Attributes

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

Attributes

Graph
Supertypes
trait StringCodec[Long]
trait ToSql[Long]
trait FromString[Long]
trait ToString[Long]
class Object
trait Matchable
class Any
Self type
object SpliceShort extends StringCodec[Short]

Attributes

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

Attributes

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
class SqlMirrorContext[+Idiom <: Idiom, +Naming <: NamingStrategy](val idiom: Idiom, val naming: Naming) extends MirrorContextBase[Idiom, Naming] with AstSplicing with SqlContext[Idiom, Naming] with 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

Graph
Supertypes
trait SqlContext[Idiom, Naming]
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 ProtoContextSecundus[Idiom, Naming]
trait RowContext
class Object
trait Matchable
class Any
trait StringCodec[T] extends ToString[T] with FromString[T] with ToSql[T]

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Graph
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

Graph
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 SpliceLong.type
object SpliceShort.type
object SpliceString.type
trait ToString[T]

Attributes

Graph
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 SpliceLong.type
object SpliceShort.type
object SpliceString.type
trait Udt

Attributes

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

Attributes

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

Attributes

Graph
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]
case class UpdateMeta[T](entity: Quoted[T], uid: String) extends QuotationLot[T]

Attributes

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

Attributes

Companion:
object
Graph
Supertypes
trait NamingStrategy
class Object
trait Matchable
class Any
Known subtypes

Attributes

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

Attributes

Companion:
object
Graph
Supertypes
trait NamingStrategy
class Object
trait Matchable
class Any
Known subtypes

Attributes

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

Attributes

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

Attributes

Graph
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 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](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 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