Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Implemented lists #11

Merged
merged 19 commits into from

2 participants

@fent

Hi there.

I've implemented most of the list methods. The few I excluded I felt that they weren't necessary in a javascript version of the db. Methods like blpop can already be done since this is fully evented.

The lrange and ltrim methods don't work exactly like their redis counterparts. In javascript, new Array(100).slice(0, 10) returns 10 items, not 11. I felt javascript developers would be more familiar with this. But redis like behavior can easily be implemented by adding 1 to stop.

@hij1nx hij1nx merged commit dba3445 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.