PostgresJAsyncContext
class PostgresJAsyncContext[N <: NamingStrategy](naming: N, pool: ConnectionPool[PostgreSQLConnection]) extends JAsyncContext[PostgresDialect, N, PostgreSQLConnection] with PostgresJAsyncContextBase[N]
trait PostgresJAsyncContextBase[N]
trait UUIDObjectEncoding
trait ArrayDecoders
trait ArrayEncoders
trait ArrayEncoding
class JAsyncContext[PostgresDialect, N, PostgreSQLConnection]
trait JAsyncContextBase[PostgresDialect, N]
trait Encoders
trait Decoders
trait SqlContext[PostgresDialect, N]
trait ContextVerbTranslate[PostgresDialect, N]
trait ContextTranslateMacro[PostgresDialect, N]
trait ContextTranslateProto[PostgresDialect, N]
trait Context[PostgresDialect, N]
trait Closeable
trait AutoCloseable
trait EncodingDsl
trait LowPriorityImplicits
trait ProtoContextSecundus[PostgresDialect, N]
trait RowContext
class Object
trait Matchable
class Any
Type members
Inherited classlikes
case class AsyncDecoder[T](sqlType: DecoderSqlType)(implicit decoder: BaseDecoder[T]) extends BaseDecoder[T]
- Inherited from:
- Decoders
case class AsyncEncoder[T](sqlType: DecoderSqlType)(implicit encoder: BaseEncoder[T]) extends BaseEncoder[T]
- Inherited from:
- Encoders
case class BatchGroupReturning(string: String, returningBehavior: ReturnAction, prepare: List[Prepare])
- Inherited from:
- RowContext
Inherited types
Value members
Constructors
Concrete methods
override protected def extractActionResult[O](returningAction: ReturnAction, returningExtractor: () => O)(result: QueryResult): List[O]
- Definition Classes
- JAsyncContext
@targetName("runBatchAction")
inline def run[I, A <: Action[I] & QAC[I, Nothing]](inline quoted: Quoted[BatchAction[A]]): Future[Seq[Long]]
@targetName("runBatchActionReturning")
inline def run[I, T, A <: Action[I] & QAC[I, T]](inline quoted: Quoted[BatchAction[A]]): Future[Seq[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
def arrayDecoder[I, O, Col <: Seq[O]](mapper: I => O)(implicit bf: Factory[O, Col], iTag: ClassTag[I], oTag: ClassTag[O]): AsyncDecoder[Col]
- Inherited from:
- ArrayDecoders
def arrayRawDecoder[T : ClassTag, Col <: Seq[T]](implicit evidence$1: ClassTag[T], bf: Factory[T, Col]): AsyncDecoder[Col]
- Inherited from:
- ArrayDecoders
- Definition Classes
- JAsyncContext -> Context -> Closeable -> AutoCloseable
- Inherited from:
- JAsyncContext
def executeAction(sql: String, prepare: Prepare)(executionInfo: ExecutionInfo, dc: ExecutionContext): Future[Long]
- Inherited from:
- JAsyncContext
def executeActionReturning[T](sql: String, prepare: Prepare, extractor: () => T, returningAction: ReturnAction)(info: ExecutionInfo, dc: Runner): Future[T]
- Inherited from:
- JAsyncContext
def executeActionReturningMany[T](sql: String, prepare: Prepare, extractor: () => T, returningAction: ReturnAction)(info: ExecutionInfo, dc: Runner): Future[List[T]]
- Inherited from:
- JAsyncContext
def executeBatchAction(groups: List[BatchGroup])(executionInfo: ExecutionInfo, dc: ExecutionContext): Future[List[Long]]
- Inherited from:
- JAsyncContext
def executeBatchActionReturning[T](groups: List[BatchGroupReturning], extractor: () => T)(executionInfo: ExecutionInfo, dc: ExecutionContext): Future[List[T]]
- Inherited from:
- JAsyncContext
def executeQuery[T](sql: String, prepare: Prepare, extractor: () => T)(executionInfo: ExecutionInfo, dc: ExecutionContext): Future[List[T]]
- Inherited from:
- JAsyncContext
def executeQuerySingle[T](sql: String, prepare: Prepare, extractor: () => T)(executionInfo: ExecutionInfo, dc: ExecutionContext): Future[T]
- Inherited from:
- JAsyncContext
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 transaction[T](f: TransactionalExecutionContext => Future[T])(implicit ec: ExecutionContext): CompletableFuture[T]
- Inherited from:
- JAsyncContext
@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
protected def withConnection[T](f: Connection => Future[T])(implicit ec: ExecutionContext): Future[T]
- Inherited from:
- JAsyncContext
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
Inherited implicits
implicit def arrayBigDecimalDecoder[Col <: Seq[BigDecimal]](implicit bf: Factory[BigDecimal, Col]): AsyncDecoder[Col]
- Inherited from:
- ArrayDecoders
implicit def arrayBooleanDecoder[Col <: Seq[Boolean]](implicit bf: Factory[Boolean, Col]): AsyncDecoder[Col]
- Inherited from:
- ArrayDecoders
implicit def arrayDoubleDecoder[Col <: Seq[Double]](implicit bf: Factory[Double, Col]): AsyncDecoder[Col]
- Inherited from:
- ArrayDecoders
implicit def arrayFloatDecoder[Col <: Seq[Float]](implicit bf: Factory[Float, Col]): AsyncDecoder[Col]
- Inherited from:
- ArrayDecoders
implicit def arrayIntDecoder[Col <: Seq[Index]](implicit bf: Factory[Index, Col]): AsyncDecoder[Col]
- Inherited from:
- ArrayDecoders
implicit def arrayLocalDateDecoder[Col <: Seq[LocalDate]](implicit bf: Factory[LocalDate, Col]): AsyncDecoder[Col]
- Inherited from:
- ArrayDecoders
implicit def arrayLocalDateTimeDecoder[Col <: Seq[LocalDateTime]](implicit bf: Factory[LocalDateTime, Col]): AsyncDecoder[Col]
- Inherited from:
- ArrayDecoders
implicit def arrayMappedDecoder[I, O, Col <: (Seq)](implicit mapped: MappedEncoding[I, O], d: AsyncDecoder[Seq[I]], bf: Factory[O, Col[O]]): AsyncDecoder[Col[O]]
- Inherited from:
- ArrayEncoding
implicit def arrayMappedEncoder[I, O, Col <: (Seq)](implicit mapped: MappedEncoding[I, O], e: AsyncEncoder[Seq[O]]): AsyncEncoder[Col[I]]
- Inherited from:
- ArrayEncoding
implicit def arrayShortDecoder[Col <: Seq[Short]](implicit bf: Factory[Short, Col]): AsyncDecoder[Col]
- Inherited from:
- ArrayDecoders
implicit def arrayStringDecoder[Col <: Seq[String]](implicit bf: Factory[String, Col]): AsyncDecoder[Col]
- Inherited from:
- ArrayDecoders
implicit def mappedDecoder[I, O](implicit mapped: MappedEncoding[I, O], decoder: AsyncDecoder[I]): AsyncDecoder[O]
- Inherited from:
- Decoders
implicit def mappedEncoder[I, O](implicit mapped: MappedEncoding[I, O], e: AsyncEncoder[O]): AsyncEncoder[I]
- Inherited from:
- Encoders