Context

trait Context[Dialect <: Idiom, Naming <: NamingStrategy] extends ProtoContext[Dialect, Naming] with EncodingDsl with Closeable
trait Closeable
trait AutoCloseable
trait ProtoContext[Dialect, Naming]
class Object
trait Matchable
class Any
trait MirrorContextBase[Dialect, Naming]
class MirrorContext[Dialect, Naming]
class SqlMirrorContext[Idiom, Naming]
trait StandardContext[Idiom, Naming]
trait SqlContext[Idiom, Naming]

Type members

Inherited classlikes

case class BatchGroup(string: String, prepare: List[Prepare])
Inherited from
ProtoContext
case class BatchGroupReturning(string: String, returningBehavior: ReturnAction, prepare: List[Prepare])
Inherited from
ProtoContext

Inherited types

Inherited from
EncodingDsl

Future class to hold things like ExecutionContext for Cassandra etc...

Future class to hold things like ExecutionContext for Cassandra etc...

Inherited from
ProtoContext
Inherited from
EncodingDsl
type DecoderMethod[T] = (Int, ResultRow) => T
Inherited from
EncodingDsl
Inherited from
EncodingDsl
type EncoderMethod[T] = (Int, T, PrepareRow) => PrepareRow
Inherited from
EncodingDsl
type Extractor[T] = ResultRow => T
Inherited from
RowContext
type Prepare = PrepareRow => (List[Any], PrepareRow)
Inherited from
RowContext
Inherited from
EncodingDsl
type Result[T]
Inherited from
ProtoContext
type ResultRow
Inherited from
EncodingDsl
Inherited from
EncodingDsl
Inherited from
ProtoContext
Inherited from
ProtoContext
Inherited from
ProtoContext
type Session
Inherited from
ProtoContext

Value members

Concrete methods

def close(): Unit
protected def context: DatasourceContext
protected def handleSingleResult[T](list: List[T]): T
inline def lift[T](inline runtimeValue: T): T
inline def liftQuery[U <: ([_] =>> Iterable[_]), T](inline runtimeValue: U[T]): Query[T]
@targetName("runQuery")
inline def run[T](inline quoted: Quoted[Query[T]]): Result[RunQueryResult[T]]
@targetName("runQuerySingle")
inline def run[T](inline quoted: Quoted[T]): Result[RunQuerySingleResult[T]]
@targetName("runAction")
inline def run[E](inline quoted: Quoted[Action[E]]): Result[RunActionResult]
@targetName("runActionReturning")
inline def run[E, T](inline quoted: Quoted[ActionReturning[E, T]]): Result[RunActionReturningResult[T]]
@targetName("runBatchAction")
inline def run[I, A <: Action[I] & QAC[I, Nothing]](inline quoted: Quoted[BatchAction[A]]): Result[RunBatchActionResult]
@targetName("runBatchActionReturning")
inline def run[I, T, A <: Action[I] & QAC[I, T]](inline quoted: Quoted[BatchAction[A]]): Result[RunBatchActionReturningResult[T]]

Inherited methods

def executeAction[T](sql: String, prepare: Prepare)(executionInfo: ExecutionInfo, dc: DatasourceContext): Result[RunActionResult]
Inherited from
ProtoContext
def executeActionReturning[T](sql: String, prepare: Prepare, extractor: () => T, returningBehavior: ReturnAction)(executionInfo: ExecutionInfo, dc: DatasourceContext): Result[RunActionReturningResult[T]]
Inherited from
ProtoContext
def executeBatchActionReturning[T](groups: List[BatchGroupReturning], extractor: () => T)(executionInfo: ExecutionInfo, dc: DatasourceContext): Result[RunBatchActionReturningResult[T]]
Inherited from
ProtoContext
def executeQuery[T](sql: String, prepare: Prepare, extractor: () => T)(executionInfo: ExecutionInfo, dc: DatasourceContext): Result[RunQueryResult[T]]
Inherited from
ProtoContext
def executeQuerySingle[T](string: String, prepare: Prepare, extractor: () => T)(executionInfo: ExecutionInfo, dc: DatasourceContext): Result[RunQuerySingleResult[T]]
Inherited from
ProtoContext
def idiom: Dialect
Inherited from
ProtoContext
protected def mappedBaseDecoder[Base, Mapped](mapped: MappedEncoding[Base, Mapped], decoder: () => Base): () => Mapped
Inherited from
EncodingDsl
protected def mappedBaseEncoder[Mapped, Base](mapped: MappedEncoding[Mapped, Base], encoder: () => Base): () => Mapped
Inherited from
EncodingDsl
def naming: Naming
Inherited from
ProtoContext

Inherited fields

Extensions

Extensions

extension (q: Query[T])
inline def filterByKeys[T](inline map: Map[String, String]): Query[T]

Implicits

Implicits

implicit inline def dec[T]: GenericDecoder[ResultRow, T, Generic]

Inherited implicits

implicit inline def anyValDecoder[Cls <: AnyVal]: Decoder[Cls]
Inherited from
LowPriorityImplicits
implicit inline def anyValEncoder[Cls <: AnyVal]: Encoder[Cls]
Inherited from
LowPriorityImplicits
implicit def bigDecimalEncoder: Encoder[BigDecimal]
Inherited from
EncodingDsl
implicit def booleanEncoder: Encoder[Boolean]
Inherited from
EncodingDsl
implicit def byteEncoder: Encoder[Byte]
Inherited from
EncodingDsl
implicit def doubleEncoder: Encoder[Double]
Inherited from
EncodingDsl
implicit def intEncoder: Encoder[Int]
Inherited from
EncodingDsl
implicit def longEncoder: Encoder[Long]
Inherited from
EncodingDsl
implicit def mappedDecoder[Base, Mapped](mapped: MappedEncoding[Base, Mapped], decoder: Decoder[Base]): Decoder[Mapped]
Inherited from
EncodingDsl
implicit def mappedEncoder[Mapped, Base](mapped: MappedEncoding[Mapped, Base], encoder: Encoder[Base]): Encoder[Mapped]
Inherited from
EncodingDsl
implicit def shortEncoder: Encoder[Short]
Inherited from
EncodingDsl
implicit def stringEncoder: Encoder[String]
Inherited from
EncodingDsl