1.

How To Get All Keys From Redis?

Answer»

USE the FOLLOWING COMMANDS:

$keyList = $redis->keys("*");

print_r($keyList);

/*Array ( [0] => tutorials [1] => NAME ) */

Use the following commands:

$keyList = $redis->keys("*");

print_r($keyList);

/*Array ( [0] => tutorials [1] => name ) */



Discussion

No Comment Found