Implemented lists #11

merged 19 commits into from Feb 8, 2012


None yet
2 participants

fent commented Feb 7, 2012

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.

0x00A merged commit dba3445 into 0x00A:master Feb 8, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment