JAsyncContext
abstract
class JAsyncContext[D <: SqlIdiom, N <: NamingStrategy, C <: ConcreteConnection](val idiom: D, val naming: N, pool: ConnectionPool[C]) extends JAsyncContextBase[D, N] with ContextVerbTranslate[D, N]
trait Encoders
trait Decoders
trait SqlContext[D, N]
trait ContextVerbTranslate[D, N]
trait ContextTranslateMacro[D, N]
trait ContextTranslateProto[D, N]
trait Context[D, N]
trait Closeable
trait AutoCloseable
trait EncodingDsl
trait LowPriorityImplicits
trait ProtoContext[D, N]
trait RowContext
class Object
trait Matchable
class Any
Type members
Classlikes
Inherited classlikes
Types
Inherited types
Value members
Abstract methods
protected
def extractActionResult[O](returningAction: ReturnAction, extractor: () => O)(result: QueryResult): O
Concrete methods
def executeAction(sql: String, prepare: Prepare)(executionInfo: ExecutionInfo, dc: ExecutionContext): Future[Long]
def executeActionReturning[T](sql: String, prepare: Prepare, extractor: () => T, returningAction: ReturnAction)(executionInfo: ExecutionInfo, dc: ExecutionContext): Future[T]
def executeBatchAction(groups: List[BatchGroup])(executionInfo: ExecutionInfo, dc: ExecutionContext): Future[List[Long]]
def executeBatchActionReturning[T](groups: List[BatchGroupReturning], extractor: () => T)(executionInfo: ExecutionInfo, dc: ExecutionContext): Future[List[T]]
def executeQuery[T](sql: String, prepare: Prepare, extractor: () => T)(executionInfo: ExecutionInfo, dc: ExecutionContext): Future[List[T]]
def executeQuerySingle[T](sql: String, prepare: Prepare, extractor: () => T)(executionInfo: ExecutionInfo, dc: ExecutionContext): Future[T]
def transaction[T](f: TransactionalExecutionContext => Future[T])(implicit ec: ExecutionContext): CompletableFuture[T]
Inherited methods
inline
Internal API that cannot be made private due to how inline functions
Internal API that cannot be made private due to how inline functions
- Inherited from
- ContextTranslateMacro
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
override
- Definition Classes
- ContextVerbTranslate -> ContextTranslateProto
- Inherited from
- ContextVerbTranslate
override
- Definition Classes
- ContextVerbTranslate -> ContextTranslateProto
- Inherited from
- ContextVerbTranslate
@targetName("translateBatchActionReturning")
inline
def translate[I, T, A <: Action[I] & QAC[I, T]](inline quoted: Quoted[BatchAction[A]], inline prettyPrint: Boolean): TranslateResult[List[String]]
- Inherited from
- ContextTranslateMacro
@targetName("translateBatchActionReturning")
inline
def translate[I, T, A <: Action[I] & QAC[I, T]](inline quoted: Quoted[BatchAction[A]]): TranslateResult[List[String]]
- Inherited from
- ContextTranslateMacro
@targetName("translateBatchAction")
inline
def translate[I, A <: Action[I] & QAC[I, Nothing]](inline quoted: Quoted[BatchAction[A]], inline prettyPrint: Boolean): TranslateResult[List[String]]
- Inherited from
- ContextTranslateMacro
@targetName("translateBatchAction")
inline
def translate[I, A <: Action[I] & QAC[I, Nothing]](inline quoted: Quoted[BatchAction[A]]): TranslateResult[List[String]]
- Inherited from
- ContextTranslateMacro
@targetName("translateActionReturning")
inline
def translate[E, T](inline quoted: Quoted[ActionReturning[E, T]], inline prettyPrint: Boolean): TranslateResult[String]
- Inherited from
- ContextTranslateMacro
@targetName("translateAction")
inline
def translate[E](inline quoted: Quoted[Action[E]], inline prettyPrint: Boolean): TranslateResult[String]
- Inherited from
- ContextTranslateMacro
@targetName("translateQuery")
inline
def translate[T](inline quoted: Quoted[Query[T]], inline prettyPrint: Boolean): TranslateResult[String]
- Inherited from
- ContextTranslateMacro
def translateBatchQueryEndpoint(groups: List[BatchGroup], prettyPrint: Boolean)(executionInfo: ExecutionInfo, dc: TranslateRunner): TranslateResult[List[String]]
- Inherited from
- ContextTranslateProto
def translateBatchQueryReturningEndpoint(groups: List[BatchGroupReturning], prettyPrint: Boolean)(executionInfo: ExecutionInfo, dc: TranslateRunner): TranslateResult[List[String]]
- Inherited from
- ContextTranslateProto
def translateQueryEndpoint[T](statement: String, prepare: Prepare, extractor: () => T, prettyPrint: Boolean)(executionInfo: ExecutionInfo, dc: TranslateRunner): TranslateResult[String]
- Inherited from
- ContextTranslateProto
Inherited fields
Extensions
Inherited extensions
extension [T](q: Query[T])
inline
When using this with FilterColumns make sure it comes FIRST. Otherwise the columns are you filtering may have been nullified in the SQL before the filteration has actually happened.
When using this with FilterColumns make sure it comes FIRST. Otherwise the columns are you filtering may have been nullified in the SQL before the filteration has actually happened.
- Inherited from
- Context
Implicits
Implicits
Inherited implicits
implicit
def mappedDecoder[I, O](implicit mapped: MappedEncoding[I, O], decoder: AsyncDecoder[I]): AsyncDecoder[O]
- Inherited from
- Decoders