dexie / Dexie.js

A Minimalistic Wrapper for IndexedDB
https://dexie.org
Apache License 2.0
11.69k stars 641 forks source link

Check IndexedDB usage #747

Open dficonfont opened 6 years ago

dficonfont commented 6 years ago

I need to check indexedDb usage in order to know how many free space I can use.

I have to check this in an javascript application.

How to do this?

Thanks to support

dfahlander commented 6 years ago

http://dexie.org/docs/StorageManager

pugazhendhisp commented 5 years ago

Hi @dfahlander

  Is there a way to get db based on origin, as indexed db is created on origin / domain based. 

Here i explain my actual problem, i have different version for same application(sub-domain different) which all of them uses different indexed db with huge amount of data, as consequence i'd faced object eviction from db. so if i have choice to delete db based on origin i can delete all unused origin db.