0

enter image description here

I'm working with redis 2.8 with win10-64. As you can see in the screenshot I have a number of long keys. Rather than type or cut and paste them , is there a way to get the value by selecting their number in the list (you can see my 2 failed attempts) ?

asked Mar 17, 2018 at 16:39

1 Answer 1

1

Can you select the value of a REDIS key by the number of key in list?

NO, You can't.

Because Redis-cli does not support this feature. And even though if you know the key, you can't fetch the data without knowing it's data type.

Suppose you have a set/HashMap corresponding to a key. For that key command get <key> will not work for that typed data.

answered Mar 18, 2018 at 7:26
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.