dominictarr / level-live-stream

MIT License
80 stars 11 forks source link

match options syntax with createReadStream #8

Open max-mapper opened 10 years ago

max-mapper commented 10 years ago

I noticed that this library uses min and max instead of start and end, any particular reason?

max-mapper commented 10 years ago

ahh nevermind, seems like just a typo in the readme, in the actual code it just passes the options object to createReadStream

dominictarr commented 10 years ago

it uses both start and end and min and max... sublevel supports min, max as well as start, end. start and end are confusing, especially with reverse: true

Now we have consensus on lt, gt, lte, gte but it needs to be updated through out leveldown(s) and levelup and level-sublevel