Package-level declarations

Types

Link copied to clipboard
internal abstract class AbstractQueryBuilder<R : QueryBuilder<R>>(val queryExecutor: QueryExecutor, val rowMappers: RowMappers, val typeRegistry: TypeRegistry, val table: String? = null) : QueryBuilder<R> , TerminalReturningMethods, TerminalModificationMethods

Base class for all builders that can return results as data rows (via SELECT or RETURNING clause).

Link copied to clipboard

Internal implementation of DeleteQueryBuilder for building SQL DELETE statements.

Link copied to clipboard

Internal implementation of InsertQueryBuilder for building SQL INSERT statements.

Link copied to clipboard
internal class DatabaseRawQueryBuilder(queryExecutor: QueryExecutor, rowMappers: RowMappers, typeRegistry: TypeRegistry, sql: String) : AbstractQueryBuilder<RawQueryBuilder> , RawQueryBuilder

Executes a raw SQL query that returns results. Allows passing arbitrary SQL for execution with convenient terminal methods.

Link copied to clipboard
internal class DatabaseSelectQueryBuilder(queryExecutor: QueryExecutor, rowMappers: RowMappers, typeRegistry: TypeRegistry, selectClause: String) : AbstractQueryBuilder<SelectQueryBuilder> , SelectQueryBuilder

Internal implementation of SelectQueryBuilder for building SQL SELECT queries. Inherits from AbstractQueryBuilder to reuse WITH clause logic and terminal methods.

Link copied to clipboard

Internal implementation of UpdateQueryBuilder for building SQL UPDATE statements.

Link copied to clipboard
Link copied to clipboard
internal class QueryExecutor(jdbcTemplate: JdbcTemplate, kotlinToPostgresConverter: KotlinToPostgresConverter)

Internal component responsible for executing SQL queries.

Link copied to clipboard

Wrapper that provides the same terminal methods as AbstractQueryBuilder, but instead of executing queries, creates TransactionStep for lazy execution within transactions.