You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the command does work it should be LRANGE List 1 2 and not LRANGE List -1 2 just that it displayed in one single row which i will fix
refer http://take.ms/FoGLq
ok so yes the condition is that start should be greater than stop otherwise it returns null ...so if you see the documentation -1 is the last element and 2 is the 3rd element and so stop is lesser than start ...so it won't return anything
for ex LRANGE List -2 60 will work and return 2 elements the penumltimate and the last element
https://redis.io/commands/lrange
Actual: LRANGE List -1 2 is not working
Expected: Should return correct data
Browser(s): Chrome 71.0.3578.98 (Windows)
The text was updated successfully, but these errors were encountered: