php - How to clear values of keys in redis -
i running 2 instance of php application, 1 live , 1 beta. using redis in live server caching data. storing article category key , article id values.
recently mistake connected beta server redis , has messed redis cache. mean has added other article ids in wrong keys. started getting wrong data redis.
my question
"is there way clear values of redis keys?"
i don't want clear keys values of it.
i had gone through redis document , found flushall, del etc.. based on doc delete keys seems.
i using predis php library communicate redis server.
can me delete values redis server.
when "clear" value of key, redis remove key. put differently, can't have keys no values.