Write CRUDCache Repo
Constructors
Properties
Flow that emits the ID of each deleted object after a successful deleteById call.
Flow that emits each newly created object after a successful create call.
Mirrors WriteCRUDRepo.deletedObjectsIdsFlow under the name onDeletedObjectsIds for consistency with KV repos naming.
Mirrors WriteCRUDRepo.newObjectsFlow under the name onNewObjects for consistency with KV repos naming.
Mirrors WriteCRUDRepo.updatedObjectsFlow under the name onUpdatedObjects for consistency with KV repos naming.
Flow that emits each updated object after a successful update call.
Functions
Creates new objects from the given list of input values. Successfully created objects must be emitted via newObjectsFlow.
Vararg overload of WriteCRUDRepo.create for convenience.
Deletes objects with the given list of IDs. Successfully deleted IDs must be emitted via deletedObjectsIdsFlow.
Vararg overload of WriteCRUDRepo.deleteById for convenience.
Invalidates its internal data. It may lead to autoreload of data. In case when repo makes autoreload, it must do loading of data before clear
Batch-updates objects using the given list of ID-value pairs. Successfully updated objects must be emitted via updatedObjectsFlow.
Updates the object identified by id with the given value. Successfully updated object must be emitted via updatedObjectsFlow.
Vararg overload of WriteCRUDRepo.update for convenience.