v1.0.1: Handle TTL and clear key
This commit is contained in:
10
README.md
10
README.md
@ -30,8 +30,14 @@ Usage
|
||||
-----
|
||||
|
||||
* Create data adapter, cache (or not), lookup table
|
||||
* Use 'lookup_set_value(lookup_table, key, value)' to create or update key in redis
|
||||
* Use 'lookup(lookup_table, key)' to get key
|
||||
* Use 'lookup_set_value(lookup_table, key, value, [ttl])' to create or update key in redis
|
||||
* Use 'lookup_value(lookup_table, key)' to get key value
|
||||
* Use 'lookup_clear_key(lookup_table, key)' to remove key
|
||||
* Use 'lookup_has_value(lookup_table, key)' to test key existence
|
||||
* Use 'lookup_assign_ttl(lookup_table, key, ttl)' to change TTL of existing key
|
||||
|
||||
By default keys will be created in Redis with the default TTL defined at data adapter creation time
|
||||
|
||||
|
||||
Getting started
|
||||
---------------
|
||||
|
||||
Reference in New Issue
Block a user