Constructors

Properties

Link copied to clipboard
open override val deletedObjectsIdsFlow: Flow<FromId>
Link copied to clipboard
Link copied to clipboard
open override val newObjectsFlow: Flow<FromRegistered>
Link copied to clipboard
open override val updatedObjectsFlow: Flow<FromRegistered>
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
@JvmName(name = "convertFromT2")
suspend fun <T1, T2> SimpleSuspendableMapper<T1, T2>.convert(from: T2): T1
Link copied to clipboard
open suspend override fun convertToT1(from: ToInput): FromInput
Link copied to clipboard
open suspend override fun convertToT2(from: FromInput): ToInput
Link copied to clipboard
open suspend override fun create(values: List<FromInput>): List<FromRegistered>
Link copied to clipboard
open suspend override fun deleteById(ids: List<FromId>)
Link copied to clipboard
Link copied to clipboard
open suspend override fun ToId.toInnerKey(): FromId
Link copied to clipboard
open suspend override fun ToRegistered.toInnerValue(): FromRegistered
Link copied to clipboard
open suspend override fun FromId.toOutKey(): ToId
Link copied to clipboard
open suspend override fun FromRegistered.toOutValue(): ToRegistered
Link copied to clipboard
open suspend override fun update(values: List<UpdatedValuePair<FromId, FromInput>>): List<FromRegistered>
open suspend override fun update(id: FromId, value: FromInput): FromRegistered?
Link copied to clipboard
inline fun <FromKey, FromValue, FromInput, ToKey, ToValue, ToInput> WriteCRUDRepo<ToValue, ToKey, ToInput>.withMapper(noinline keyFromToTo: suspend FromKey.() -> ToKey = { this as ToKey }, noinline valueFromToTo: suspend FromValue.() -> ToValue = { this as ToValue }, noinline inputFromToTo: suspend FromInput.() -> ToInput = { this as ToInput }, noinline keyToToFrom: suspend ToKey.() -> FromKey = { this as FromKey }, noinline valueToToFrom: suspend ToValue.() -> FromValue = { this as FromValue }, noinline inputToToFrom: suspend ToInput.() -> FromInput = { this as FromInput }): WriteCRUDRepo<FromValue, FromKey, FromInput>