Batch

interface Batch : DBWrite, Closeable

Functions

close
Link copied to clipboard
common
abstract fun close()
delete
Link copied to clipboard
common
open fun <M : Any> delete(type: KClass<M>, key: Key<M>)
abstract fun <M : Any> delete(type: KClass<M>, key: Key<M>, vararg options: Options.BatchDelete)
open override fun <M : Any> delete(type: KClass<M>, key: Key<M>, vararg options: Options.Deletes)
keyById
Link copied to clipboard
common
abstract fun <M : Any> keyById(type: KClass<M>, vararg id: Any): Key<M>
keyFrom
Link copied to clipboard
common
abstract fun <M : Any> keyFrom(model: M, vararg options: Options.Puts): Key<M>
keyFromB64
Link copied to clipboard
common
abstract fun <M : Any> keyFromB64(type: KClass<M>, b64: String): Key<M>
put
Link copied to clipboard
common
open fun <M : Any> put(model: M): Key<M>
abstract fun <M : Any> put(model: M, vararg options: Options.BatchPut): Key<M>
open override fun <M : Any> put(model: M, vararg options: Options.Puts): Key<M>
open fun <M : Any> put(key: Key<M>, model: M)
abstract fun <M : Any> put(key: Key<M>, model: M, vararg options: Options.BatchPut)
open override fun <M : Any> put(key: Key<M>, model: M, vararg options: Options.Puts)
write
Link copied to clipboard
common
abstract fun write(vararg options: Options.BatchWrite)

Inheritors

ExecBatch
Link copied to clipboard

Extensions

delete
Link copied to clipboard
common
inline fun <M : Any> Batch.delete(key: Key<M>, vararg options: Options.BatchDelete)
deleteAll
Link copied to clipboard
common
inline fun <M : Any> Batch.deleteAll(cursor: Cursor<M>, vararg options: Options.BatchDelete)
deleteById
Link copied to clipboard
common
inline fun <M : Any> Batch.deleteById(vararg id: Any, options: Array<out Options.BatchDelete> = emptyArray())