jensarps/IDBWrapper

Get from store only certain fields of an item

Closed this issue · 3 comments

wclr commented

Is it possible to load from store only certain fields of an item not a whole data piece?

Nope, that's not possible. IndexedDB will always retrieve a complete item. If your data items are too huge and you're experiencing performance issues, you might need to split your data items into multiple parts, so that you can fetch only the parts that you need.

wclr commented

Ok, thank you for your advice.

No problem, let me know if you have further questions :)