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.


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -