Method |
Description |
|
__call ( $method, $args ) |
|
|
__construct ( $server, $options = [] ) |
|
|
decrKey ( string $collection, string $key, integer $by = 1 ) : integer |
Decrement value by x |
|
dropCollection ( $name, $db = null ) |
|
|
getKey ( string $collection, string $key, mixed $default = null ) : mixed |
Get value for specific key |
|
hdel ( string $key ) : integer |
Delete one or more hash fields |
|
hexists ( string $collection, string $key, string $field ) : boolean |
Determine if a hash field exists |
|
hget ( string $collection, string $key, string $field, mixed $default = null ) : mixed |
Get the value of a hash field |
|
hgetall ( string $key ) : array |
Get all the fields and values in a hash |
|
hincrby ( $collection, string $key, string $field, integer $by = 1 ) : integer |
Increment the integer value of a hash field by the given number |
|
hkeys ( string $key ) : array |
Get all the fields in a hash |
|
hlen ( string $key ) : integer |
Get the number of fields in a hash |
|
hmget ( string $key ) : array |
Get the values of all the given hash fields |
|
hmset ( string $key ) |
Set multiple hash fields to multiple values |
|
hset ( string $collection, string $key, string $field, mixed $value ) |
Set the string value of a hash field |
|
hvals ( string $key ) : array |
Get all the values in a hash |
|
incrKey ( string $collection, string $key, integer $by = 1 ) : integer |
Increment value by x |
|
insert ( $collection, &$doc ) |
|
|
keyExists ( string $collection, string $key ) |
Check if key exists |
|
lindex ( string $collection, string $key, integer $index ) : mixed |
Get an element from a list by its index |
|
lpush ( string $collection, string $key, mixed $value ) : integer |
Add item to a value (left) |
|
lset ( string $collection, string $key, integer $index, mixed $value ) : boolean |
Set the value of an element in a list by its index |
|
removeKey ( string $collection, string $key ) : integer |
Delete Key(s) |
|
renameCollection ( $newname, $db = null ) |
|
|
rpush ( string $collection, string $key, mixed $value ) : integer |
Add item to a value (right) |
|
save ( $collection, &$data ) |
|
|
setKey ( string $collection, string $key, mixed $value ) |
Set value for specific key |
|