Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
class JooqDatabaseServiceImpl(configuration: DbConfiguration, dataSourceProvider: DataSourceProvider = PostgresDataSourceProvider, val alwaysRollback: Boolean = false, meterRegistry: MeterRegistry? = null) : JooqDatabaseService
Link copied to clipboard
Link copied to clipboard
class TableDefinitionField<T>(tableDefinition: TableDefinition, val name: String, valueClass: Class<T>)
Link copied to clipboard
Functions
Link copied to clipboard
Checks that execution affects expected number of rows.
Link copied to clipboard
fun <R : Record> InsertSetStep<R>.insertValues(vararg columnValues: Pair<TableDefinitionField<*>, *>): InsertOnDuplicateStep<R>
fun <R : Record> InsertSetStep<R>.insertValues(vararg columnValues: Pair<Field<*>, *>): InsertOnDuplicateStep<R>
Inserts values
Link copied to clipboard
inline fun <R> JooqDatabaseService.runTransactionAndGetContext(crossinline block: (ctx: DSLContext) -> R): R
Link copied to clipboard
fun <AfterWhereStep : Select<Record>, T> DSLContext.selectPaginated(mapper: RecordMapper<Record, T>, pagination: Pagination? = null, selection: SelectSelectStep<Record> = select(), orderByStep: AfterWhereStep.() -> SelectLimitStep<Record>? = null, whereStep: SelectSelectStep<Record>.() -> AfterWhereStep? = null): PaginatedResult<T>
Link copied to clipboard
fun <AfterWhereStep : Select<Record>, T> DSLContext.selectPaginatedWithGroup(mapper: RecordMapper<Record, T>, pagination: Pagination? = null, countOn: List<TableDefinitionField<*>>, groupStep: AfterWhereStep.() -> SelectHavingStep<Record>? = null, selectionStep: DSLContext.() -> SelectSelectStep<Record> = { select() }, orderByStep: AfterWhereStep.() -> SelectLimitStep<Record>? = null, whereStep: SelectSelectStep<Record>.() -> AfterWhereStep? = null): PaginatedResult<T>
Link copied to clipboard