lib/save.js
function iterateKeys() {
      var obj = getKeyObject(db, j);
      if(obj === null) return onKeysComplete();
      encoder.write(obj, function onWrite() {
        j++;
        setImmediate(iterateKeys);
      });
    }
function iterateKeys() {
      var obj = getKeyObject(db, j);
      if(obj === null) return onKeysComplete();
      encoder.write(obj, function onWrite() {
        j++;
        setImmediate(iterateKeys);
      });
    }
function iterateKeys ( ) { var obj = getKeyObject ( db , j ) ; if ( obj === null ) return onKeysComplete ( ) ; encoder . write ( obj , function onWrite ( ) { j ++ ; setImmediate ( iterateKeys ) ; } ) ; }
iterate keys in a db
iterate keys in a db