aaronpowell / db.js

db.js is a wrapper for IndexedDB to make it easier to work against
http://aaronpowell.github.com/db.js/
MIT License
818 stars 142 forks source link

db.js and IndexedDBShim id very slow #55

Closed torto closed 9 years ago

torto commented 10 years ago

Hello, I am using a lib with the IndexedDBShim on Android, but when I use the method all() .. the query is very slow. Using debbug could tell he does a select for each document, I have 3000 documents on a table and it performs 3000 selects, making it very slow. This situation is caused by a lib or at indexedDbShim?

aaronpowell commented 10 years ago

That’d be caused by the shim, I don’t really know how it works other than it’s on top of WebSQL so how it is translated down from the IndexedDB API is beyond my library.

aaronpowell commented 9 years ago

Closed - this is a problem with IndexedDB Shim and not something I can resolve at my end.