Local Storage Query
Parameters
resource
definition of resource in localStorage
prefix
prefix used for prepending to the keys
run Query
function to apply a given query to the collection of entities in localStorage
Constructors
Functions
Link copied to clipboard
open suspend override fun addOrUpdate(entities: List<T>, entity: T): List<T>
Content copied to clipboard
adds or updates a given entity to localStorage
Link copied to clipboard
Link copied to clipboard
open suspend override fun updateMany(entities: List<T>, entitiesToUpdate: List<T>): List<T>
Content copied to clipboard
updates given entities to localStorage