Package

io

getquill

Permalink

package getquill

Visibility
  1. Public
  2. All

Type Members

  1. class AsyncMirrorContext[+Idiom <: Idiom, +Naming <: NamingStrategy] extends Context[Idiom, Naming] with RowContext with ContextVerbTranslate with MirrorEncoders with MirrorDecoders with ScalaFutureIOMonad

    Permalink
  2. case class BatchActionMirrorGeneric[A](groups: List[(String, List[A])], info: ExecutionInfo) extends Product with Serializable

    Permalink
  3. case class BatchActionReturningMirrorGeneric[T, PrepareRow, Extractor[_]](groups: List[(String, ReturnAction, List[PrepareRow])], extractor: Extractor[T], info: ExecutionInfo) extends Product with Serializable

    Permalink
  4. sealed trait EntityQuery[T] extends EntityQueryModel[T]

    Permalink
  5. trait ImplicitQuery extends AnyRef

    Permalink
  6. class MirrorContext[+Idiom <: Idiom, +Naming <: NamingStrategy] extends Context[Idiom, Naming] with ProtoContext[Idiom, Naming] with ContextVerbTranslate with ContextVerbPrepareLambda with MirrorEncoders with MirrorDecoders with SyncIOMonad

    Permalink

    This is supposed to emulate how Row retrieval works in JDBC Int JDBC, ResultSet won't ever actually have Option values inside, so the actual option-decoder needs to understand that fact e.g.

    This is supposed to emulate how Row retrieval works in JDBC Int JDBC, ResultSet won't ever actually have Option values inside, so the actual option-decoder needs to understand that fact e.g. Deocder[Option[Int]](java.sql.ResultSet(foo:1, etc)).getInt(1)* and wrap it into a Optional value for the equivalent row implementation: Deocder[Option[Int]](Row(foo:1, etc)).apply(1). (*note that java.sql.ResultSet actually doesn't have this syntax because it isn't a product). Similarly, when doing ResultSet(foo:null /*Expecting an int*/, etc).getInt(1) the result will be 0 as opposed to throwing a NPE as would be the scala expectation. So we need to do Row(foo:null /*Expecting an int*/, etc).apply(1) do the same thing.

  7. trait Quoted[+T] extends AnyRef

    Permalink

    Defines the primary interface by which information in Quill is composed.

    Defines the primary interface by which information in Quill is composed. This includes not only queries but all code fragements. A quotation can be a simple value: {{ val pi = quote(3.14159) }} And be used within another quotation: {{ case class Circle(radius: Float)

    val areas = quote { query[Circle].map(c => pi * c.radius * c.radius) } }} Quotations can also contain high-order functions and inline values: {{ val area = quote { (c: Circle) => { val r2 = c.radius * c.radius pi * r2 } } val areas = quote { query[Circle].map(c => area(c)) } }}

    Note that this class must not be in quill-engine since it cannot be shared with ProtoQuill and which has a different implementation of Quoted.

    See also

    Scala 3.1.1 fails to compile / no method options for more info.

  8. trait Udt extends AnyRef

    Permalink

Value Members

  1. object FutureTests

    Permalink
  2. package ast

    Permalink
  3. package context

    Permalink
  4. package dsl

    Permalink
  5. package idiom

    Permalink
  6. package log

    Permalink
  7. object mirrorContextWithQueryProbing extends MirrorContext[MirrorIdiom.type, Literal.type] with QueryProbing

    Permalink
  8. package monad

    Permalink
  9. package quat

    Permalink

    Convenience API that allows construction of a Quat using Quat.from[T]

  10. package quotation

    Permalink
  11. package util

    Permalink

Ungrouped