Context
trait Context[Dialect <: Idiom, Naming <: NamingStrategy] extends ProtoContext[Dialect, Naming] with EncodingDsl with Closeable
trait Closeable
trait AutoCloseable
trait EncodingDsl
trait LowPriorityImplicits
trait RowContext
class Object
trait Matchable
class Any
Type members
Inherited classlikes
case class BatchGroupReturning(string: String, returningBehavior: ReturnAction, prepare: List[Prepare])
- Inherited from
- ProtoContext
Types
Inherited types
type DatasourceContext
Future class to hold things like ExecutionContext for Cassandra etc...
Future class to hold things like ExecutionContext for Cassandra etc...
- Inherited from
- ProtoContext
Value members
Concrete methods
@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 executeBatchAction(groups: List[BatchGroup])(executionInfo: ExecutionInfo, dc: DatasourceContext): Result[RunBatchActionResult]
- 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
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
Inherited fields
Extensions
Extensions
extension (q: Query[T])
Implicits
Implicits
Inherited implicits
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