Sets
AddToSet
<?php /** * Add the specified member to the Set value at key * * @param string $name Key name * @param mixin $value Value * @return boolean */ ?>
DeleteFromSet
<?php /** * Remove the specified member from the Set value at key * * @param string $name Key name * @param mixin $value Value * @return boolean */ ?>
GetRandomFromSet
<?php /** * Get random element from the Set value at key * * @param string $name Key name * @param boolean $pop If true - pop value from the set * @return mixin */ ?>
GetSetLength
<?php /** * Return the number of elements (the cardinality) of the Set at key * * @param string $name Key name * @return integer */ ?>
ExistsInSet
<?php /** * Test if the specified value is a member of the Set at key * * @param string $name Key value * @prarm mixin $value Value * @return boolean */ ?>
IntersectSets
<?php /** * Return the intersection between the Sets stored at key1, key2, ..., keyN * * @param array $names Array of key names * @param string|null $storeName Store intersection to set with key name * @return array|boolean */ ?>
UnionSets
<?php /** * Return the union between the Sets stored at key1, key2, ..., keyN * * @param array $names Array of key names * @param string|null $storeName Store union to set with key name * @return array|boolean */ ?>
DiffSets
<?php /** * Return the difference between the Set stored at key1 and all the Sets key2, ..., keyN * * @param array $names Array of key names * @param string|null $storeName Store union to set with key name * @return array|boolean */ ?>
GetSet
<?php /** * Return all the members of the Set value at key * * @param string $name Key name * @param string $sort Deprecated * @return array */ ?>
MoveToSet
<?php /** * Move the specified member from one Set to another atomically * * @param string $fromName From key name * @param string $toName To key name * @param mixin $value Value * @return boolean */ ?>
Sort
<?php /** * Get sorted elements contained in the List, Set, or Sorted Set value at key. * * @param string $name Key name * @param string|array $value Options or SORT query string (http://code.google.com/p/redis/wiki/SortCommand). * Important notes for SORT query string: * 1. If you set Rediska namespace option don't forget add it to key names. * 2. If you use more then one connection to Redis servers, it will choose by key name, * and key by you pattern's may not present on it. * @return array */ ?>