Package dev. inmo. micro_utils. repos
Types
Link copied to clipboard
CRUDRepo
Link copied to clipboard
interface CRUDRepo<ObjectType, IdType, InputValueType> : ReadCRUDRepo<ObjectType, IdType> , WriteCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
interface CRUDRepo<ObjectType, IdType, InputValueType> : ReadCRUDRepo<ObjectType, IdType> , WriteCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
interface CRUDRepo<ObjectType, IdType, InputValueType> : ReadCRUDRepo<ObjectType, IdType> , WriteCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
Link copied to clipboard
Delegate Based CRUDRepo
Link copied to clipboard
class DelegateBasedCRUDRepo<ObjectType, IdType, InputValueType>(readDelegate: ReadCRUDRepo<ObjectType, IdType>, writeDelegate: WriteCRUDRepo<ObjectType, IdType, InputValueType>) : CRUDRepo<ObjectType, IdType, InputValueType> , ReadCRUDRepo<ObjectType, IdType> , WriteCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
class DelegateBasedCRUDRepo<ObjectType, IdType, InputValueType>(readDelegate: ReadCRUDRepo<ObjectType, IdType>, writeDelegate: WriteCRUDRepo<ObjectType, IdType, InputValueType>) : CRUDRepo<ObjectType, IdType, InputValueType> , ReadCRUDRepo<ObjectType, IdType> , WriteCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
class DelegateBasedCRUDRepo<ObjectType, IdType, InputValueType>(readDelegate: ReadCRUDRepo<ObjectType, IdType>, writeDelegate: WriteCRUDRepo<ObjectType, IdType, InputValueType>) : CRUDRepo<ObjectType, IdType, InputValueType> , ReadCRUDRepo<ObjectType, IdType> , WriteCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
Delegate Based Key Value Repo
Link copied to clipboard
class DelegateBasedKeyValueRepo<Key, Value>(readDelegate: ReadKeyValueRepo<Key, Value>, writeDelegate: WriteKeyValueRepo<Key, Value>) : KeyValueRepo<Key, Value> , ReadKeyValueRepo<Key, Value> , WriteKeyValueRepo<Key, Value>
Content copied to clipboard
class DelegateBasedKeyValueRepo<Key, Value>(readDelegate: ReadKeyValueRepo<Key, Value>, writeDelegate: WriteKeyValueRepo<Key, Value>) : KeyValueRepo<Key, Value> , ReadKeyValueRepo<Key, Value> , WriteKeyValueRepo<Key, Value>
Content copied to clipboard
class DelegateBasedKeyValueRepo<Key, Value>(readDelegate: ReadKeyValueRepo<Key, Value>, writeDelegate: WriteKeyValueRepo<Key, Value>) : KeyValueRepo<Key, Value> , ReadKeyValueRepo<Key, Value> , WriteKeyValueRepo<Key, Value>
Content copied to clipboard
Delegate Based Key Values Repo
Link copied to clipboard
class DelegateBasedKeyValuesRepo<Key, Value>(readDelegate: ReadKeyValuesRepo<Key, Value>, writeDelegate: WriteKeyValuesRepo<Key, Value>) : KeyValuesRepo<Key, Value> , ReadKeyValuesRepo<Key, Value> , WriteKeyValuesRepo<Key, Value>
Content copied to clipboard
class DelegateBasedKeyValuesRepo<Key, Value>(readDelegate: ReadKeyValuesRepo<Key, Value>, writeDelegate: WriteKeyValuesRepo<Key, Value>) : KeyValuesRepo<Key, Value> , ReadKeyValuesRepo<Key, Value> , WriteKeyValuesRepo<Key, Value>
Content copied to clipboard
class DelegateBasedKeyValuesRepo<Key, Value>(readDelegate: ReadKeyValuesRepo<Key, Value>, writeDelegate: WriteKeyValuesRepo<Key, Value>) : KeyValuesRepo<Key, Value> , ReadKeyValuesRepo<Key, Value> , WriteKeyValuesRepo<Key, Value>
Content copied to clipboard
Link copied to clipboard
class FileKeyValueRepo(folder: File, filesChangedProcessingScope: CoroutineScope? = null) : KeyValueRepo<String, File> , WriteKeyValueRepo<String, File> , ReadKeyValueRepo<String, File>
Content copied to clipboard
Link copied to clipboard
class FileReadKeyValueRepo(folder: File) : ReadKeyValueRepo<String, File>
Content copied to clipboard
Link copied to clipboard
class FileWriteKeyValueRepo(folder: File, filesChangedProcessingScope: CoroutineScope? = null) : WriteKeyValueRepo<String, File>
Content copied to clipboard
Files watching will not correctly works on Android with version of API lower than API 26
Key Value Repo
Link copied to clipboard
interface KeyValueRepo<Key, Value> : ReadKeyValueRepo<Key, Value> , WriteKeyValueRepo<Key, Value>
Content copied to clipboard
interface KeyValueRepo<Key, Value> : ReadKeyValueRepo<Key, Value> , WriteKeyValueRepo<Key, Value>
Content copied to clipboard
interface KeyValueRepo<Key, Value> : ReadKeyValueRepo<Key, Value> , WriteKeyValueRepo<Key, Value>
Content copied to clipboard
Key Values Repo
Link copied to clipboard
interface KeyValuesRepo<Key, Value> : ReadKeyValuesRepo<Key, Value> , WriteKeyValuesRepo<Key, Value>
Content copied to clipboard
interface KeyValuesRepo<Key, Value> : ReadKeyValuesRepo<Key, Value> , WriteKeyValuesRepo<Key, Value>
Content copied to clipboard
interface KeyValuesRepo<Key, Value> : ReadKeyValuesRepo<Key, Value> , WriteKeyValuesRepo<Key, Value>
Content copied to clipboard
Map CRUDRepo
Link copied to clipboard
abstract class MapCRUDRepo<ObjectType, IdType, InputValueType>(map: MutableMap<IdType, ObjectType>) : WriteMapCRUDRepo<ObjectType, IdType, InputValueType> , CRUDRepo<ObjectType, IdType, InputValueType> , ReadCRUDRepo<ObjectType, IdType>
Content copied to clipboard
abstract class MapCRUDRepo<ObjectType, IdType, InputValueType>(map: MutableMap<IdType, ObjectType>) : WriteMapCRUDRepo<ObjectType, IdType, InputValueType> , CRUDRepo<ObjectType, IdType, InputValueType> , ReadCRUDRepo<ObjectType, IdType>
Content copied to clipboard
abstract class MapCRUDRepo<ObjectType, IdType, InputValueType>(map: MutableMap<IdType, ObjectType>) : WriteMapCRUDRepo<ObjectType, IdType, InputValueType> , CRUDRepo<ObjectType, IdType, InputValueType> , ReadCRUDRepo<ObjectType, IdType>
Content copied to clipboard
Map Key Value Repo
Link copied to clipboard
class MapKeyValueRepo<Key, Value>(map: MutableMap<Key, Value> = mutableMapOf()) : KeyValueRepo<Key, Value> , ReadKeyValueRepo<Key, Value> , WriteKeyValueRepo<Key, Value>
Content copied to clipboard
class MapKeyValueRepo<Key, Value>(map: MutableMap<Key, Value> = mutableMapOf()) : KeyValueRepo<Key, Value> , ReadKeyValueRepo<Key, Value> , WriteKeyValueRepo<Key, Value>
Content copied to clipboard
class MapKeyValueRepo<Key, Value>(map: MutableMap<Key, Value> = mutableMapOf()) : KeyValueRepo<Key, Value> , ReadKeyValueRepo<Key, Value> , WriteKeyValueRepo<Key, Value>
Content copied to clipboard
Map Key Values Repo
Link copied to clipboard
class MapKeyValuesRepo<Key, Value>(map: MutableMap<Key, MutableList<Value>> = mutableMapOf()) : KeyValuesRepo<Key, Value> , ReadKeyValuesRepo<Key, Value> , WriteKeyValuesRepo<Key, Value>
Content copied to clipboard
class MapKeyValuesRepo<Key, Value>(map: MutableMap<Key, MutableList<Value>> = mutableMapOf()) : KeyValuesRepo<Key, Value> , ReadKeyValuesRepo<Key, Value> , WriteKeyValuesRepo<Key, Value>
Content copied to clipboard
class MapKeyValuesRepo<Key, Value>(map: MutableMap<Key, MutableList<Value>> = mutableMapOf()) : KeyValuesRepo<Key, Value> , ReadKeyValuesRepo<Key, Value> , WriteKeyValuesRepo<Key, Value>
Content copied to clipboard
Mapper Repo
Link copied to clipboard
Map Read Key Values Repo
Link copied to clipboard
class MapReadKeyValuesRepo<Key, Value>(map: Map<Key, List<Value>> = emptyMap()) : ReadKeyValuesRepo<Key, Value>
Content copied to clipboard
class MapReadKeyValuesRepo<Key, Value>(map: Map<Key, List<Value>> = emptyMap()) : ReadKeyValuesRepo<Key, Value>
Content copied to clipboard
class MapReadKeyValuesRepo<Key, Value>(map: Map<Key, List<Value>> = emptyMap()) : ReadKeyValuesRepo<Key, Value>
Content copied to clipboard
Map Write Key Values Repo
Link copied to clipboard
class MapWriteKeyValuesRepo<Key, Value>(map: MutableMap<Key, MutableList<Value>> = mutableMapOf()) : WriteKeyValuesRepo<Key, Value>
Content copied to clipboard
class MapWriteKeyValuesRepo<Key, Value>(map: MutableMap<Key, MutableList<Value>> = mutableMapOf()) : WriteKeyValuesRepo<Key, Value>
Content copied to clipboard
class MapWriteKeyValuesRepo<Key, Value>(map: MutableMap<Key, MutableList<Value>> = mutableMapOf()) : WriteKeyValuesRepo<Key, Value>
Content copied to clipboard
One To Many Key Value Repo
Link copied to clipboard
typealias OneToManyKeyValueRepo<Key, Value> = KeyValuesRepo<Key, Value>
Content copied to clipboard
typealias OneToManyKeyValueRepo<Key, Value> = KeyValuesRepo<Key, Value>
Content copied to clipboard
typealias OneToManyKeyValueRepo<Key, Value> = KeyValuesRepo<Key, Value>
Content copied to clipboard
Read CRUDRepo
Link copied to clipboard
Read Key Value Repo
Link copied to clipboard
Read Key Values Repo
Link copied to clipboard
Read Map CRUDRepo
Link copied to clipboard
class ReadMapCRUDRepo<ObjectType, IdType>(map: Map<IdType, ObjectType> = emptyMap()) : ReadCRUDRepo<ObjectType, IdType>
Content copied to clipboard
class ReadMapCRUDRepo<ObjectType, IdType>(map: Map<IdType, ObjectType> = emptyMap()) : ReadCRUDRepo<ObjectType, IdType>
Content copied to clipboard
class ReadMapCRUDRepo<ObjectType, IdType>(map: Map<IdType, ObjectType> = emptyMap()) : ReadCRUDRepo<ObjectType, IdType>
Content copied to clipboard
Read Map Key Value Repo
Link copied to clipboard
class ReadMapKeyValueRepo<Key, Value>(map: Map<Key, Value> = emptyMap()) : ReadKeyValueRepo<Key, Value>
Content copied to clipboard
class ReadMapKeyValueRepo<Key, Value>(map: Map<Key, Value> = emptyMap()) : ReadKeyValueRepo<Key, Value>
Content copied to clipboard
class ReadMapKeyValueRepo<Key, Value>(map: Map<Key, Value> = emptyMap()) : ReadKeyValueRepo<Key, Value>
Content copied to clipboard
Read One To Many Key Value Repo
Link copied to clipboard
typealias ReadOneToManyKeyValueRepo<Key, Value> = ReadKeyValuesRepo<Key, Value>
Content copied to clipboard
typealias ReadOneToManyKeyValueRepo<Key, Value> = ReadKeyValuesRepo<Key, Value>
Content copied to clipboard
typealias ReadOneToManyKeyValueRepo<Key, Value> = ReadKeyValuesRepo<Key, Value>
Content copied to clipboard
Read Standard CRUDRepo
Link copied to clipboard
typealias ReadStandardCRUDRepo<ObjectType, IdType> = ReadCRUDRepo<ObjectType, IdType>
Content copied to clipboard
typealias ReadStandardCRUDRepo<ObjectType, IdType> = ReadCRUDRepo<ObjectType, IdType>
Content copied to clipboard
typealias ReadStandardCRUDRepo<ObjectType, IdType> = ReadCRUDRepo<ObjectType, IdType>
Content copied to clipboard
Read Standard Key Value Repo
Link copied to clipboard
typealias ReadStandardKeyValueRepo<Key, Value> = ReadKeyValueRepo<Key, Value>
Content copied to clipboard
typealias ReadStandardKeyValueRepo<Key, Value> = ReadKeyValueRepo<Key, Value>
Content copied to clipboard
typealias ReadStandardKeyValueRepo<Key, Value> = ReadKeyValueRepo<Key, Value>
Content copied to clipboard
Simple Mapper Repo
Link copied to clipboard
class SimpleMapperRepo<FromKey, FromValue, ToKey, ToValue>( keyFromToTo: suspend FromKey.() -> ToKey, valueFromToTo: suspend FromValue.() -> ToValue, keyToToFrom: suspend ToKey.() -> FromKey, valueToToFrom: suspend ToValue.() -> FromValue) : MapperRepo<FromKey, FromValue, ToKey, ToValue>
Content copied to clipboard
class SimpleMapperRepo<FromKey, FromValue, ToKey, ToValue>( keyFromToTo: suspend FromKey.() -> ToKey, valueFromToTo: suspend FromValue.() -> ToValue, keyToToFrom: suspend ToKey.() -> FromKey, valueToToFrom: suspend ToValue.() -> FromValue) : MapperRepo<FromKey, FromValue, ToKey, ToValue>
Content copied to clipboard
class SimpleMapperRepo<FromKey, FromValue, ToKey, ToValue>( keyFromToTo: suspend FromKey.() -> ToKey, valueFromToTo: suspend FromValue.() -> ToValue, keyToToFrom: suspend ToKey.() -> FromKey, valueToToFrom: suspend ToValue.() -> FromValue) : MapperRepo<FromKey, FromValue, ToKey, ToValue>
Content copied to clipboard
Standard CRUDRepo
Link copied to clipboard
typealias StandardCRUDRepo<ObjectType, IdType, InputValueType> = CRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
typealias StandardCRUDRepo<ObjectType, IdType, InputValueType> = CRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
typealias StandardCRUDRepo<ObjectType, IdType, InputValueType> = CRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
Standard Key Value Repo
Link copied to clipboard
typealias StandardKeyValueRepo<Key, Value> = KeyValueRepo<Key, Value>
Content copied to clipboard
typealias StandardKeyValueRepo<Key, Value> = KeyValueRepo<Key, Value>
Content copied to clipboard
typealias StandardKeyValueRepo<Key, Value> = KeyValueRepo<Key, Value>
Content copied to clipboard
Link copied to clipboard
class StandardSQLHelper( context: Context, name: String, factory: SQLiteDatabase.CursorFactory? = null, version: Int = 1, errorHandler: DatabaseErrorHandler? = null, useSharedPreferencesForVersions: Boolean = false)
Content copied to clipboard
Link copied to clipboard
class TransactionContext(val databaseContext: CoroutineContext) : CoroutineContext.Element
Content copied to clipboard
Updated Value Pair
Link copied to clipboard
Write CRUDRepo
Link copied to clipboard
Write Key Value Repo
Link copied to clipboard
Write Key Values Repo
Link copied to clipboard
Write Map CRUDRepo
Link copied to clipboard
abstract class WriteMapCRUDRepo<ObjectType, IdType, InputValueType>(map: MutableMap<IdType, ObjectType> = mutableMapOf()) : WriteCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
abstract class WriteMapCRUDRepo<ObjectType, IdType, InputValueType>(map: MutableMap<IdType, ObjectType> = mutableMapOf()) : WriteCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
abstract class WriteMapCRUDRepo<ObjectType, IdType, InputValueType>(map: MutableMap<IdType, ObjectType> = mutableMapOf()) : WriteCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
Write Map Key Value Repo
Link copied to clipboard
class WriteMapKeyValueRepo<Key, Value>(map: MutableMap<Key, Value> = mutableMapOf()) : WriteKeyValueRepo<Key, Value>
Content copied to clipboard
class WriteMapKeyValueRepo<Key, Value>(map: MutableMap<Key, Value> = mutableMapOf()) : WriteKeyValueRepo<Key, Value>
Content copied to clipboard
class WriteMapKeyValueRepo<Key, Value>(map: MutableMap<Key, Value> = mutableMapOf()) : WriteKeyValueRepo<Key, Value>
Content copied to clipboard
Write One To Many Key Value Repo
Link copied to clipboard
typealias WriteOneToManyKeyValueRepo<Key, Value> = WriteKeyValuesRepo<Key, Value>
Content copied to clipboard
typealias WriteOneToManyKeyValueRepo<Key, Value> = WriteKeyValuesRepo<Key, Value>
Content copied to clipboard
typealias WriteOneToManyKeyValueRepo<Key, Value> = WriteKeyValuesRepo<Key, Value>
Content copied to clipboard
Write Standard CRUDRepo
Link copied to clipboard
typealias WriteStandardCRUDRepo<ObjectType, IdType, InputValueType> = WriteCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
typealias WriteStandardCRUDRepo<ObjectType, IdType, InputValueType> = WriteCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
typealias WriteStandardCRUDRepo<ObjectType, IdType, InputValueType> = WriteCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
Write Standard Key Value Repo
Link copied to clipboard
typealias WriteStandardKeyValueRepo<Key, Value> = WriteKeyValueRepo<Key, Value>
Content copied to clipboard
typealias WriteStandardKeyValueRepo<Key, Value> = WriteKeyValueRepo<Key, Value>
Content copied to clipboard
typealias WriteStandardKeyValueRepo<Key, Value> = WriteKeyValueRepo<Key, Value>
Content copied to clipboard
Functions
add
Link copied to clipboard
inline suspend fun <Key, Value, REPO : WriteKeyValuesRepo<Key, Value>> REPO.add(vararg keysAndValues: Pair<Key, List<Value>>)
Content copied to clipboard
inline suspend fun <Key, Value, REPO : WriteKeyValuesRepo<Key, Value>> REPO.add(keysAndValues: List<Pair<Key, List<Value>>>)
Content copied to clipboard
inline suspend fun <Key, Value, REPO : WriteKeyValuesRepo<Key, Value>> REPO.add(vararg keysAndValues: Pair<Key, List<Value>>)
Content copied to clipboard
inline suspend fun <Key, Value, REPO : WriteKeyValuesRepo<Key, Value>> REPO.add(keysAndValues: List<Pair<Key, List<Value>>>)
Content copied to clipboard
inline suspend fun <Key, Value, REPO : WriteKeyValuesRepo<Key, Value>> REPO.add(vararg keysAndValues: Pair<Key, List<Value>>)
Content copied to clipboard
inline suspend fun <Key, Value, REPO : WriteKeyValuesRepo<Key, Value>> REPO.add(keysAndValues: List<Pair<Key, List<Value>>>)
Content copied to clipboard
as Crud Repo
Link copied to clipboard
fun <ObjectType, IdType, InputValueType> MutableMap<IdType, ObjectType>.asCrudRepo(updateCallback: suspend MutableMap<IdType, ObjectType>.(InputValueType, IdType, ObjectType) -> ObjectType, createCallback: suspend MutableMap<IdType, ObjectType>.(InputValueType) -> Pair<IdType, ObjectType>): MapCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
fun <ObjectType, IdType, InputValueType> MutableMap<IdType, ObjectType>.asCrudRepo(updateCallback: suspend MutableMap<IdType, ObjectType>.(InputValueType, IdType, ObjectType) -> ObjectType, createCallback: suspend MutableMap<IdType, ObjectType>.(InputValueType) -> Pair<IdType, ObjectType>): MapCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
fun <ObjectType, IdType, InputValueType> MutableMap<IdType, ObjectType>.asCrudRepo(updateCallback: suspend MutableMap<IdType, ObjectType>.(InputValueType, IdType, ObjectType) -> ObjectType, createCallback: suspend MutableMap<IdType, ObjectType>.(InputValueType) -> Pair<IdType, ObjectType>): MapCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
as Key Value Repo
Link copied to clipboard
as Key Values Repo
Link copied to clipboard
Link copied to clipboard
fun <T> SQLiteOpenHelper.blockingReadableTransaction(block: SQLiteDatabase.() -> T): T
Content copied to clipboard
fun <T> StandardSQLHelper.blockingReadableTransaction(block: SQLiteDatabase.() -> T): T
Content copied to clipboard
Link copied to clipboard
fun <T> SQLiteDatabase.blockingTransaction(block: SQLiteDatabase.() -> T): T
Content copied to clipboard
Link copied to clipboard
fun <T> SQLiteOpenHelper.blockingWritableTransaction(block: SQLiteDatabase.() -> T): T
Content copied to clipboard
fun <T> StandardSQLHelper.blockingWritableTransaction(block: SQLiteDatabase.() -> T): T
Content copied to clipboard
Link copied to clipboard
fun contentValuesOfNotNull(vararg pairs: Pair<String, Any?>?): <ERROR CLASS>
Content copied to clipboard
create
Link copied to clipboard
suspend fun <ObjectType, IdType, InputValueType> WriteCRUDRepo<ObjectType, IdType, InputValueType>.create(vararg values: InputValueType): List<ObjectType>
Content copied to clipboard
suspend fun <ObjectType, IdType, InputValueType> WriteCRUDRepo<ObjectType, IdType, InputValueType>.create(vararg values: InputValueType): List<ObjectType>
Content copied to clipboard
suspend fun <ObjectType, IdType, InputValueType> WriteCRUDRepo<ObjectType, IdType, InputValueType>.create(vararg values: InputValueType): List<ObjectType>
Content copied to clipboard
Link copied to clipboard
fun SQLiteDatabase.createTable( tableName: String, vararg columnsToTypes: Pair<String, ColumnType>, onInit: SQLiteDatabase.() -> Unit? = null): Boolean
Content copied to clipboard
Link copied to clipboard
fun createTableQuery(tableName: String, vararg columnsToTypes: Pair<String, ColumnType>): String
Content copied to clipboard
delete By Id
Link copied to clipboard
suspend fun <ObjectType, IdType, InputValueType> WriteCRUDRepo<ObjectType, IdType, InputValueType>.deleteById(vararg ids: IdType)
Content copied to clipboard
suspend fun <ObjectType, IdType, InputValueType> WriteCRUDRepo<ObjectType, IdType, InputValueType>.deleteById(vararg ids: IdType)
Content copied to clipboard
suspend fun <ObjectType, IdType, InputValueType> WriteCRUDRepo<ObjectType, IdType, InputValueType>.deleteById(vararg ids: IdType)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> SQLiteDatabase.inlineTransaction(crossinline block: SQLiteDatabase.() -> T): T
Content copied to clipboard
invoke
Link copied to clipboard
operator fun <FromKey, FromValue, ToKey, ToValue> MapperRepo.Companion.invoke( keyFromToTo: suspend FromKey.() -> ToKey, valueFromToTo: suspend FromValue.() -> ToValue, keyToToFrom: suspend ToKey.() -> FromKey, valueToToFrom: suspend ToValue.() -> FromValue): SimpleMapperRepo<FromKey, FromValue, ToKey, ToValue>
Content copied to clipboard
operator fun <FromKey, FromValue, ToKey, ToValue> MapperRepo.Companion.invoke( keyFromToTo: suspend FromKey.() -> ToKey, valueFromToTo: suspend FromValue.() -> ToValue, keyToToFrom: suspend ToKey.() -> FromKey, valueToToFrom: suspend ToValue.() -> FromValue): SimpleMapperRepo<FromKey, FromValue, ToKey, ToValue>
Content copied to clipboard
operator fun <FromKey, FromValue, ToKey, ToValue> MapperRepo.Companion.invoke( keyFromToTo: suspend FromKey.() -> ToKey, valueFromToTo: suspend FromValue.() -> ToValue, keyToToFrom: suspend ToKey.() -> FromKey, valueToToFrom: suspend ToValue.() -> FromValue): SimpleMapperRepo<FromKey, FromValue, ToKey, ToValue>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Map CRUDRepo
Link copied to clipboard
fun <ObjectType, IdType, InputValueType> MapCRUDRepo(updateCallback: suspend MutableMap<IdType, ObjectType>.(InputValueType, IdType, ObjectType) -> ObjectType, createCallback: suspend MutableMap<IdType, ObjectType>.(InputValueType) -> Pair<IdType, ObjectType>): MapCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
fun <ObjectType, IdType, InputValueType> MapCRUDRepo( map: MutableMap<IdType, ObjectType>, updateCallback: suspend MutableMap<IdType, ObjectType>.(InputValueType, IdType, ObjectType) -> ObjectType, createCallback: suspend MutableMap<IdType, ObjectType>.(InputValueType) -> Pair<IdType, ObjectType>): MapCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
fun <ObjectType, IdType, InputValueType> MapCRUDRepo(updateCallback: suspend MutableMap<IdType, ObjectType>.(InputValueType, IdType, ObjectType) -> ObjectType, createCallback: suspend MutableMap<IdType, ObjectType>.(InputValueType) -> Pair<IdType, ObjectType>): MapCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
fun <ObjectType, IdType, InputValueType> MapCRUDRepo( map: MutableMap<IdType, ObjectType>, updateCallback: suspend MutableMap<IdType, ObjectType>.(InputValueType, IdType, ObjectType) -> ObjectType, createCallback: suspend MutableMap<IdType, ObjectType>.(InputValueType) -> Pair<IdType, ObjectType>): MapCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
fun <ObjectType, IdType, InputValueType> MapCRUDRepo(updateCallback: suspend MutableMap<IdType, ObjectType>.(InputValueType, IdType, ObjectType) -> ObjectType, createCallback: suspend MutableMap<IdType, ObjectType>.(InputValueType) -> Pair<IdType, ObjectType>): MapCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
fun <ObjectType, IdType, InputValueType> MapCRUDRepo( map: MutableMap<IdType, ObjectType>, updateCallback: suspend MutableMap<IdType, ObjectType>.(InputValueType, IdType, ObjectType) -> ObjectType, createCallback: suspend MutableMap<IdType, ObjectType>.(InputValueType) -> Pair<IdType, ObjectType>): MapCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
mapper
Link copied to clipboard
inline fun <FromKey, FromValue, ToKey, ToValue> mapper( noinline keyFromToTo: suspend FromKey.() -> ToKey = { this as ToKey }, noinline valueFromToTo: suspend FromValue.() -> ToValue = { this as ToValue }, noinline keyToToFrom: suspend ToKey.() -> FromKey = { this as FromKey }, noinline valueToToFrom: suspend ToValue.() -> FromValue = { this as FromValue }): SimpleMapperRepo<FromKey, FromValue, ToKey, ToValue>
Content copied to clipboard
inline fun <FromKey, FromValue, ToKey, ToValue> mapper( noinline keyFromToTo: suspend FromKey.() -> ToKey = { this as ToKey }, noinline valueFromToTo: suspend FromValue.() -> ToValue = { this as ToValue }, noinline keyToToFrom: suspend ToKey.() -> FromKey = { this as FromKey }, noinline valueToToFrom: suspend ToValue.() -> FromValue = { this as FromValue }): SimpleMapperRepo<FromKey, FromValue, ToKey, ToValue>
Content copied to clipboard
inline fun <FromKey, FromValue, ToKey, ToValue> mapper( noinline keyFromToTo: suspend FromKey.() -> ToKey = { this as ToKey }, noinline valueFromToTo: suspend FromValue.() -> ToValue = { this as ToValue }, noinline keyToToFrom: suspend ToKey.() -> FromKey = { this as FromKey }, noinline valueToToFrom: suspend ToValue.() -> FromValue = { this as FromValue }): SimpleMapperRepo<FromKey, FromValue, ToKey, ToValue>
Content copied to clipboard
Link copied to clipboard
suspend fun <T> SQLiteOpenHelper.readableTransaction(block: suspend SQLiteDatabase.() -> T): T
Content copied to clipboard
remove
Link copied to clipboard
inline suspend fun <Key, Value> WriteKeyValuesRepo<Key, Value>.remove(vararg keysAndValues: Pair<Key, List<Value>>)
Content copied to clipboard
inline suspend fun <Key, Value> WriteKeyValuesRepo<Key, Value>.remove(keysAndValues: List<Pair<Key, List<Value>>>)
Content copied to clipboard
inline suspend fun <Key, Value> WriteKeyValuesRepo<Key, Value>.remove(vararg keysAndValues: Pair<Key, List<Value>>)
Content copied to clipboard
inline suspend fun <Key, Value> WriteKeyValuesRepo<Key, Value>.remove(keysAndValues: List<Pair<Key, List<Value>>>)
Content copied to clipboard
inline suspend fun <Key, Value> WriteKeyValuesRepo<Key, Value>.remove(vararg keysAndValues: Pair<Key, List<Value>>)
Content copied to clipboard
inline suspend fun <Key, Value> WriteKeyValuesRepo<Key, Value>.remove(keysAndValues: List<Pair<Key, List<Value>>>)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
set
Link copied to clipboard
inline suspend fun <Key, Value, REPO : WriteKeyValuesRepo<Key, Value>> REPO.set(vararg keysAndValues: Pair<Key, List<Value>>)
Content copied to clipboard
inline suspend fun <Key, Value, REPO : WriteKeyValuesRepo<Key, Value>> REPO.set(keysAndValues: List<Pair<Key, List<Value>>>)
Content copied to clipboard
inline suspend fun <Key, Value> WriteKeyValueRepo<Key, Value>.set(vararg toSet: Pair<Key, Value>)
Content copied to clipboard
inline suspend fun <Key, Value> WriteKeyValueRepo<Key, Value>.set(k: Key, v: Value)
Content copied to clipboard
inline suspend fun <Key, Value, REPO : WriteKeyValuesRepo<Key, Value>> REPO.set(vararg keysAndValues: Pair<Key, List<Value>>)
Content copied to clipboard
inline suspend fun <Key, Value, REPO : WriteKeyValuesRepo<Key, Value>> REPO.set(keysAndValues: List<Pair<Key, List<Value>>>)
Content copied to clipboard
inline suspend fun <Key, Value> WriteKeyValueRepo<Key, Value>.set(vararg toSet: Pair<Key, Value>)
Content copied to clipboard
inline suspend fun <Key, Value> WriteKeyValueRepo<Key, Value>.set(k: Key, v: Value)
Content copied to clipboard
inline suspend fun <Key, Value, REPO : WriteKeyValuesRepo<Key, Value>> REPO.set(vararg keysAndValues: Pair<Key, List<Value>>)
Content copied to clipboard
inline suspend fun <Key, Value, REPO : WriteKeyValuesRepo<Key, Value>> REPO.set(keysAndValues: List<Pair<Key, List<Value>>>)
Content copied to clipboard
inline suspend fun <Key, Value> WriteKeyValueRepo<Key, Value>.set(vararg toSet: Pair<Key, Value>)
Content copied to clipboard
inline suspend fun <Key, Value> WriteKeyValueRepo<Key, Value>.set(k: Key, v: Value)
Content copied to clipboard
Link copied to clipboard
suspend fun <T> SQLiteDatabase.transaction(block: suspend SQLiteDatabase.() -> T): T
Content copied to clipboard
unset
Link copied to clipboard
unset With Values
Link copied to clipboard
inline suspend fun <Key, Value> WriteKeyValueRepo<Key, Value>.unsetWithValues(vararg v: Value)
Content copied to clipboard
inline suspend fun <Key, Value> WriteKeyValueRepo<Key, Value>.unsetWithValues(vararg v: Value)
Content copied to clipboard
inline suspend fun <Key, Value> WriteKeyValueRepo<Key, Value>.unsetWithValues(vararg v: Value)
Content copied to clipboard
update
Link copied to clipboard
suspend fun <ObjectType, IdType, InputValueType> WriteCRUDRepo<ObjectType, IdType, InputValueType>.update(vararg values: UpdatedValuePair<IdType, InputValueType>): List<ObjectType>
Content copied to clipboard
suspend fun <ObjectType, IdType, InputValueType> WriteCRUDRepo<ObjectType, IdType, InputValueType>.update(vararg values: UpdatedValuePair<IdType, InputValueType>): List<ObjectType>
Content copied to clipboard
suspend fun <ObjectType, IdType, InputValueType> WriteCRUDRepo<ObjectType, IdType, InputValueType>.update(vararg values: UpdatedValuePair<IdType, InputValueType>): List<ObjectType>
Content copied to clipboard
Link copied to clipboard
suspend fun <T> SQLiteOpenHelper.writableTransaction(block: suspend SQLiteDatabase.() -> T): T
Content copied to clipboard