Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what's the params of lrange #24

Closed
kekek opened this issue Jun 10, 2019 · 2 comments
Closed

what's the params of lrange #24

kekek opened this issue Jun 10, 2019 · 2 comments

Comments

@kekek
Copy link

kekek commented Jun 10, 2019

when i run command bellow in termnal :
lrange f10.data.4:600030 0 0
it return "(error) invalid offset specified"

is there any example or document for this command.

@alash3al
Copy link
Owner

LRANGE, in redix isn't the same as redis

in redix: when you lpush you get an offset of the new value i.e 6d796c697374312f7b4c4953547d2f31313338303930333534313732343937393230 that id/offset/ref isn't a numerical that starts from 0, but the offset here means the id to start from.

sorry for the lake of better documentations for the available commands

@kekek
Copy link
Author

kekek commented Jun 10, 2019

LRANGE, in redix isn't the same as redis

in redix: when you lpush you get an offset of the new value i.e 6d796c697374312f7b4c4953547d2f31313338303930333534313732343937393230 that id/offset/ref isn't a numerical that starts from 0, but the offset here means the id to start from.

sorry for the lake of better documentations for the available commands

I got it , thinks for the reply.

@kekek kekek closed this as completed Jun 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants