yathit / ydn-db

Javascript database module for Indexeddb, Web SQL and localStorage storage mechanisms supporting version migration, advanced query, SQL and transaction.
Apache License 2.0
503 stars 41 forks source link

Get Values with IndexValueIterator and Mechanism localstorage without items don't resolve promise #90

Closed miquellaboria closed 8 years ago

miquellaboria commented 8 years ago

When I get Values from localstorage using IndexValueIterator and I don't have any items on the store, the promise never resolve.

yathit commented 8 years ago

Sorry no plan to fix now.

mehdirande commented 8 years ago

I had to make a patch into ydn-base and ydn-db to solve this issue. I hope that it was the right way to fix it (cf PR #1 of ydn-base and PR #112 of ydn-db).