DBRead

interface DBRead : KeyMaker

Types

FindDsl
Link copied to clipboard
common
interface FindDsl<M : Any>

Functions

find
Link copied to clipboard
common
abstract fun <M : Any> find(type: KClass<M>, vararg options: Options.Find): DBRead.FindDsl<M>
findAll
Link copied to clipboard
common
abstract fun findAll(vararg options: Options.Find): Cursor<*>
get
Link copied to clipboard
common
abstract operator fun <M : Any> get(type: KClass<M>, key: Key<M>, vararg options: Options.Get): M?
getIndexesOf
Link copied to clipboard
common
abstract fun getIndexesOf(key: Key<*>): Set<String>
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>

Inheritors

DB
Link copied to clipboard
Snapshot
Link copied to clipboard

Extensions

find
Link copied to clipboard
common
inline fun <M : Any> DBRead.find(vararg options: Options.Find): DBRead.FindDsl<M>
get
Link copied to clipboard
common
inline operator fun <M : Any> DBRead.get(key: Key<M>, vararg options: Options.Get): M?
getById
Link copied to clipboard
common
inline fun <M : Any> DBRead.getById(vararg id: Any, options: Array<out Options.Get> = emptyArray()): M?