On the project homepage is linked Where are KEYS, SCAN, FLUSHDB etc? which gives full details on how to access this, and why it isn't on IDatabase. I should point out that you should avoid KEYS on a production server. The library will automatically try to use SCAN instead if it is available - which is less harmful but should still be treated with some caution. It would be preferable to explicitly store related keys in a set or hash.
On the project homepage is linked Where are
KEYS
,SCAN
,FLUSHDB
etc? which gives full details on how to access this, and why it isn't onIDatabase
. I should point out that you should avoidKEYS
on a production server. The library will automatically try to useSCAN
instead if it is available - which is less harmful but should still be treated with some caution. It would be preferable to explicitly store related keys in a set or hash.