DBProvider.setItem()method
setItem(collection: Collection<string, II, TT>, id: II, data: TT): Promise<void>
Set (insert or overwrite) the data for an item by its id.
setItem(collection: Collection<string, II, TT>, id: II, data: TT): Promise<void>
Set (insert or overwrite) the data for an item by its id.