Blob2Queries

class Blob2Queries(driver: SqlDriver) : TransacterImpl

Constructors

Link copied to clipboard
constructor(driver: SqlDriver)

Functions

Link copied to clipboard
fun changes(): ExecutableQuery<Long>
Link copied to clipboard
fun count(): Query<Long>
Link copied to clipboard
fun delete(key: String)
Link copied to clipboard
fun deleteAll()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun insert(key: String, blob: ByteArray, date: Long?)
Link copied to clipboard
fun recordForKey(key: String): Query<RecordForKey>
fun <T : Any> recordForKey(key: String, mapper: (key: String, blob: ByteArray) -> T): Query<T>
Link copied to clipboard
fun <T : Any> recordsForKeys(key: Collection<String>, mapper: (key: String, blob: ByteArray) -> T): Query<T>
Link copied to clipboard
fun selectRecords(): Query<Blobs>
fun <T : Any> selectRecords(mapper: (key: String, blob: ByteArray, date: Long?) -> T): Query<T>
Link copied to clipboard
open override fun transaction(noEnclosing: Boolean, body: TransactionWithoutReturn.() -> Unit)
Link copied to clipboard
open override fun <R> transactionWithResult(noEnclosing: Boolean, bodyWithReturn: TransactionWithReturn<R>.() -> R): R
Link copied to clipboard
fun trim(value: Long)
Link copied to clipboard
fun update(blob: ByteArray, date: Long?, key: String)