I'm trying to fetch all records from the IndexedDB
using YDN-DB.js
like so:
var keyRange = new ydn.db.KeyRange.lowerBound(0, true);
var cursor = new ydn.db.IndexValueIterator(store, keyName, keyRange);
return this.database.values(store, keyRange);
Where of course store is the name of the IndexedDb
store and keyName is one of the indexes.
The result seems to be only an array of length 100, even though I am requesting for all rows with keyName >= 0
.
What I am doing wrong?
UPDATE:
I have tried without keyRange
and cursor like so:
return this.database.values(store);
But I get the same result.