//tvlib/org.mjdev.tvlib.database.extensions/ObjectBoxExt
ObjectBoxExt
[androidJvm]\ object ObjectBoxExt
Functions
| Name | Summary |
|---|---|
| equals | [androidJvm] open operator fun equals(other: Any?): Boolean |
| hashCode | [androidJvm] open fun hashCode(): Int |
| query | [androidJvm] fun <T : Any> Box<T>.query(query: (T) -> Boolean): List<T> |
| stx | [androidJvm] inline suspend fun <V, T> Box<T>.stx(crossinline transaction: Box<T>.() -> V): V? |
| toString | [androidJvm] open fun toString(): String |
| tx | [androidJvm] inline fun <V, T> Box<T>.tx(crossinline transaction: Box<T>.() -> V): Job |
| update | [androidJvm] fun <T : Any> Box<T>.update(entity: T, query: (T) -> Boolean) |