For example, performing a query for all objects there i >= 5, skipping the first 20 would look like:
var scule = require('sculejs');
var collection = scule.factoryCollection('scule+dummy://test');
collection.find({i:{$gte:5}}, {$skip:20}, function(o) {
o.forEach(function(d) {
// do something here
});
});
SculeJS should support the $skip operator using the same implementation rationale as MongoDB - http://docs.mongodb.org/manual/reference/aggregation/skip/
For example, performing a query for all objects there i >= 5, skipping the first 20 would look like:
Estimated effort: 2 days