MirrorContextBase
trait MirrorContextBase[+Dialect <: Idiom, +Naming <: NamingStrategy] extends Context[Dialect, Naming] with ContextVerbPrepare[Dialect, Naming] with ContextVerbTranslate[Dialect, Naming] with MirrorDecoders with MirrorEncoders
trait MirrorEncoders
trait MirrorDecoders
trait Closeable
trait AutoCloseable
trait EncodingDsl
trait LowPriorityImplicits
trait RowContext
class Object
trait Matchable
class Any
Type members
Classlikes
case class ActionReturningMirror[T, R](string: String, prepareRow: PrepareRow, extractor: () => T, returningBehavior: ReturnAction, info: ExecutionInfo)
case class BatchActionReturningMirror[T](groups: List[(String, ReturnAction, List[PrepareRow])], extractor: () => T, info: ExecutionInfo)
case class QueryMirror[T](string: String, prepareRow: PrepareRow, extractor: () => T, info: ExecutionInfo)
Inherited classlikes
case class BatchGroupReturning(string: String, returningBehavior: ReturnAction, prepare: List[Prepare])
- Inherited from:
- RowContext
Types
Inherited types
Value members
Abstract methods
Concrete methods
override def executeAction(string: String, prepare: Prepare)(info: ExecutionInfo, dc: Runner): Result[RunActionResult]
- Definition Classes
def executeActionReturning[T](sql: String, prepare: Prepare, extractor: () => T, returningBehavior: ReturnAction)(info: ExecutionInfo, dc: Runner): Result[RunActionReturningResult[T]]
def executeActionReturningMany[T](sql: String, prepare: Prepare, extractor: () => T, returningBehavior: ReturnAction)(info: ExecutionInfo, dc: Runner): Result[RunActionReturningResult[List[T]]]
override def executeBatchAction(groups: List[BatchGroup])(info: ExecutionInfo, dc: Runner): Result[RunBatchActionResult]
- Definition Classes
override def executeBatchActionReturning[T](groups: List[BatchGroupReturning], extractor: () => T)(info: ExecutionInfo, dc: Runner): Result[BatchActionReturningMirror[T]]
- Definition Classes
override def executeQuery[T](string: String, prepare: Prepare, extractor: () => T)(info: ExecutionInfo, dc: Runner): Result[QueryMirror[T]]
- Definition Classes
override def executeQuerySingle[T](string: String, prepare: Prepare, extractor: () => T)(info: ExecutionInfo, dc: Runner): Result[QueryMirror[T]]
- Definition Classes
def prepareAction(string: String, prepare: Prepare)(info: ExecutionInfo, dc: Runner): PrepareActionResult
def prepareBatchAction(groups: List[BatchGroup])(info: ExecutionInfo, dc: Runner): PrepareBatchActionResult
def prepareQuery(string: String, prepare: Prepare)(info: ExecutionInfo, dc: Runner): PrepareQueryResult
def prepareSingle(string: String, prepare: Prepare)(info: ExecutionInfo, dc: Runner): PrepareQueryResult
@targetName("runActionReturningMany")
inline def run[E, T](inline quoted: Quoted[ActionReturning[E, List[T]]]): ActionReturningMirror[T, List[T]]
@targetName("runBatchAction")
inline def run[I, A <: Action[I] & QAC[I, Nothing]](inline quoted: Quoted[BatchAction[A]], rowsPerBatch: Int): BatchActionMirror
@targetName("runBatchActionDefault")
inline def run[I, A <: Action[I] & QAC[I, Nothing]](inline quoted: Quoted[BatchAction[A]]): BatchActionMirror
@targetName("runBatchActionReturning")
inline def run[I, T, A <: Action[I] & QAC[I, T]](inline quoted: Quoted[BatchAction[A]], rowsPerBatch: Int): BatchActionReturningMirror[T]
@targetName("runBatchActionReturningDefault")
inline def run[I, T, A <: Action[I] & QAC[I, T]](inline quoted: Quoted[BatchAction[A]]): BatchActionReturningMirror[T]
Inherited methods
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
@targetName("runPrepareBatchAction")
inline def prepare[I, A <: Action[I] & QAC[I, Nothing]](inline quoted: Quoted[BatchAction[A]]): PrepareBatchActionResult
- Inherited from:
- ContextVerbPrepare
@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("translateQuerySingle")
inline def translate[T](inline quoted: Quoted[T], 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])
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], d: MirrorDecoder[I]): MirrorDecoder[O]
- Inherited from:
- MirrorDecoders
implicit def mappedEncoder[I, O](implicit mapped: MappedEncoding[I, O], e: MirrorEncoder[O]): MirrorEncoder[I]
- Inherited from:
- MirrorEncoders