How does Redis get the parameter corresponding to Value in a key value?

1. I want to query according to the condition, just like the sql statement

select * from user where sex="";

how can 2.redis be implemented?

ps: uses redis, for the first time today and asks the boss to inform

Mar.21,2021

get key
set value: set a "123456"
get value: get a (get 123456)

clipboard.png

Menu