Skip to content
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.

feature: read multiple values from iterator#next() #13

Open
stephenmathieson opened this issue Sep 17, 2014 · 1 comment
Open

feature: read multiple values from iterator#next() #13

stephenmathieson opened this issue Sep 17, 2014 · 1 comment

Comments

@stephenmathieson
Copy link
Owner

more at: #12 (comment)

@gabrieldodan
Copy link

Then your suggestion is more than enough

var iterator = db.iterator()
iterator.next(5 /* get 5 the next keys */, function (err, values) {
  if (err) handleError(err)
  // values = [ ... ]
})

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants