JdbcPrepareBase
trait JdbcPrepareBase[Dialect <: SqlIdiom, Naming <: NamingStrategy] extends Context[Dialect, Naming]
trait Context[Dialect, Naming]
trait Closeable
trait AutoCloseable
trait EncodingDsl
trait LowPriorityImplicits
trait ProtoContext[Dialect, Naming]
trait RowContext
class Object
trait Matchable
class Any
Type members
Inherited classlikes
Types
Inherited types
type Runner
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
Abstract methods
Concrete methods
protected
def prepareBatchInternal(conn: Connection, groups: List[BatchGroup], prepareSingle: (String, Prepare, Connection) => Result[PreparedStatement]): Result[List[PreparedStatement]]
Inherited methods
def executeAction(sql: String, prepare: Prepare)(executionInfo: ExecutionInfo, rn: Runner): Result[RunActionResult]
- Inherited from
- ProtoContext
def executeActionReturning[T](sql: String, prepare: Prepare, extractor: () => T, returningBehavior: ReturnAction)(executionInfo: ExecutionInfo, rn: Runner): Result[RunActionReturningResult[T]]
- Inherited from
- ProtoContext
def executeBatchAction(groups: List[BatchGroup])(executionInfo: ExecutionInfo, rn: Runner): Result[RunBatchActionResult]
- Inherited from
- ProtoContext
def executeBatchActionReturning[T](groups: List[BatchGroupReturning], extractor: () => T)(executionInfo: ExecutionInfo, rn: Runner): Result[RunBatchActionReturningResult[T]]
- Inherited from
- ProtoContext
def executeQuery[T](sql: String, prepare: Prepare, extractor: () => T)(executionInfo: ExecutionInfo, rn: Runner): Result[RunQueryResult[T]]
- Inherited from
- ProtoContext
def executeQuerySingle[T](string: String, prepare: Prepare, extractor: () => T)(executionInfo: ExecutionInfo, rn: Runner): 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
@targetName("runBatchActionReturning")
inline
def run[I, T, A <: Action[I] & QAC[I, T]](inline quoted: Quoted[BatchAction[A]]): Result[RunBatchActionReturningResult[T]]
- Inherited from
- Context
@targetName("runBatchAction")
inline
def run[I, A <: Action[I] & QAC[I, Nothing]](inline quoted: Quoted[BatchAction[A]]): Result[RunBatchActionResult]
- Inherited from
- Context
@targetName("runQuery")
inline
def run[T](inline quoted: Quoted[Query[T]], inline wrap: OuterSelectWrap): Result[RunQueryResult[T]]
- Inherited from
- Context
Abstract fields
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
Inherited implicits
implicit
def mappedDecoder[Base, Mapped](implicit mapped: MappedEncoding[Base, Mapped], decoder: Decoder[Base]): Decoder[Mapped]
- Inherited from
- EncodingDsl
implicit
def mappedEncoder[Mapped, Base](implicit mapped: MappedEncoding[Mapped, Base], encoder: Encoder[Base]): Encoder[Mapped]
- Inherited from
- EncodingDsl