LRANGE behaves in a very strange manner
Question: It seems as if I do not get the idea of this method (`LRANGE`). The situation
is following. I've added in `Python` some data to two lists, one called
`tables` and another one called `object_1_`. I pushed several items to list
`tables` and only one item to list `object_1_`. I did it like so:

    
    
    db.lpush('object_1_','some_data')
    db.lpush('tables','some data')
    ...
    ...
    db.lpush('tables','some data')
    

When I go to `redis-cli`, I see something which seems strange to me. I do the
followng:

    
    
    redis-cli> lrange object_1_ -1 0
    some data
    redis-cli> lrange tables -1 0
    (empty list or set)
    

So, my question is why it is so? I try to understand why this construct
`lrange key_name -1 0` returns something for one-element list and returns
nothing for a larger list.


Answer: The order of [`LRANGE`](http://redis.io/commands/lrange)'s arguments is
important - you've switched the `start` and `end` in your sample, try doing
`lrange key 0 -1` ;)

