Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
class HelperInsertStatement<Key : Any>(table: Table, isIgnore: Boolean = false) : InsertStatement<Key>
Link copied to clipboard
Link copied to clipboard
typealias TableAwareWithSqlExpressionBuilderBuildWhere<T> = T.(ISqlExpressionBuilder) -> Op<Boolean>
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T : Table> T.deleteIgnoreWhereStatement(limit: Int? = null, offset: Long? = null, op: TableAwareWithSqlExpressionBuilderBuildWhere<T>): DeleteStatement
Adapted from org.jetbrains.exposed.sql.deleteWhere.
Link copied to clipboard
fun <T : Table> T.deleteWhereStatement(limit: Int? = null, offset: Long? = null, op: TableAwareWithSqlExpressionBuilderBuildWhere<T>): DeleteStatement
fun Table.deleteWhereStatement(isIgnore: Boolean = false, limit: Int? = null, offset: Long? = null, op: BuildWhere): DeleteStatement
Adapted from org.jetbrains.exposed.sql.deleteWhere.
fun Table.deleteWhereStatement(op: WhereOp, isIgnore: Boolean = false, limit: Int? = null, offset: Long? = null): DeleteStatement
Link copied to clipboard
To simplify the SQL in some expression queries. For example Dual.slice(exists(Table.emptySlice().select(op))).selectAll()
generates a SQL with no columns which is simpler.
Link copied to clipboard
fun <T : Table> T.insertIgnoreStatement(body: T.(InsertStatement<Number>) -> Unit): HelperInsertStatement<Number>
Adapted from org.jetbrains.exposed.sql.insertIgnore.
Link copied to clipboard
fun <T : Table> T.insertSelectStatement(selectQuery: AbstractQuery<*>, columns: List<Column<*>> = defaultColumnsForInsertSelect(), isIgnore: Boolean = false): InsertSelectStatement
Adapted from org.jetbrains.exposed.sql.insert.
Link copied to clipboard
fun <T : Table> T.insertStatement(body: T.(InsertStatement<Number>) -> Unit): HelperInsertStatement<Number>
Adapted from org.jetbrains.exposed.sql.insert.
Link copied to clipboard
Link copied to clipboard
You can also just use selectAll.
Link copied to clipboard
Link copied to clipboard
You can also just use select.
Adapted from org.jetbrains.exposed.sql.select.
Link copied to clipboard
Link copied to clipboard
fun <T : Table> T.updateStatement(where: BuildWhere? = null, limit: Int? = null, body: T.(UpdateStatement) -> Unit): UpdateStatement
Adapted from org.jetbrains.exposed.sql.update.
Link copied to clipboard
fun <T : Table> T.updateStatementTableAware(where: TableAwareBuildWhere<T>? = null, limit: Int? = null, body: T.(UpdateStatement) -> Unit): UpdateStatement
Link copied to clipboard