You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should probably be implemented as levelup's gte/lte/limit options instead.
varfilter=through({objectMode: true},function(record,encoding,cb){if(typeofrecord!="object"){if(options.keys)record={key: record}if(options.values)record={value: record}// if both are true... wtf?}// split off version key & add it to recordvarkv=unmakeKey(sep,record.key)if(options.versionLimit){if(kv.key!=this.currentKey){this.currentKey=kv.keythis.currentCount=0}if(this.currentCount++>=options.versionLimit)returncb()}if(kv.version>=options.minVersion&&kv.version<=options.maxVersion){record.version=kv.versionrecord.key=kv.keythis.push(record)}cb()})
This should probably be implemented as levelup's
gte
/lte
/limit
options instead.level-version/index.js
Lines 186 to 210 in 0941eb7
The text was updated successfully, but these errors were encountered: