Abstract Exposed Key Value Repo
abstract class AbstractExposedKeyValueRepo<Key, Value>(val database: <Error class: unknown class>, tableName: String? = null) : AbstractExposedReadKeyValueRepo<Key, Value> , KeyValueRepo<Key, Value>
Content copied to clipboard
Constructors
Link copied to clipboard
fun AbstractExposedKeyValueRepo(database: <Error class: unknown class>, tableName: String? = null)
Content copied to clipboard
Functions
Link copied to clipboard
By default, will remove all the data of current repo using doAllWithCurrentPaging, keys and unset
Link copied to clipboard
abstract suspend fun keys(pagination: Pagination, reversed: Boolean = false): PaginationResult<Key>
Content copied to clipboard
abstract suspend fun keys( v: Value, pagination: Pagination, reversed: Boolean = false): PaginationResult<Key>
Content copied to clipboard
This method should use sorted by Keys search and take the PaginationResult. By default, it should use ascending sort for Keys
Link copied to clipboard
Link copied to clipboard
abstract suspend fun values(pagination: Pagination, reversed: Boolean = false): PaginationResult<Value>
Content copied to clipboard
This method should use sorted by Keys search and take the PaginationResult. By default, it should use ascending sort for Keys
Properties
Link copied to clipboard
Link copied to clipboard
This flow must emit data each time when data by Key has been removed with unset/unsetWithValues methods or in any other way
Link copied to clipboard
abstract val selectById: <Error class: unknown class>.(Key) -> <Error class: unknown class><Boolean>
Content copied to clipboard
Link copied to clipboard
open val selectByIds: <Error class: unknown class>.(List<Key>) -> <Error class: unknown class><Boolean>
Content copied to clipboard
Link copied to clipboard
abstract val selectByValue: <Error class: unknown class>.(Value) -> <Error class: unknown class><Boolean>
Content copied to clipboard