Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14115

CI Redis cache driver

$
0
0
Hi, 

In CI version 3.x we have Redis support.
Official documentation for 'more information' points to https://github.com/phpredis/phpredis
But if I user for example:

Code:
$this->cache->redis->hSet('h', 'key1', 'hello');
Error: 

Type:        BadMethodCallException
Message:     No such method: hSet()

Also in system\libraries\Cache\drivers\Cache_redis.php 
We have ony save, get, delete, increment, decrement, clean, cache_info, get_metadata

How I can use this?
What to do?

Thanks

Viewing all articles
Browse latest Browse all 14115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>