mirror of
https://github.com/php-win-ext/phpredis.git
synced 2026-03-24 17:12:15 +01:00
14947 lines
445 KiB
HTML
14947 lines
445 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="robots" content="index, follow, all" />
|
|
<title>RedisCluster | PhpRedis API</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
|
|
<link rel="stylesheet" type="text/css" href="css/bootstrap-theme.min.css">
|
|
<link rel="stylesheet" type="text/css" href="css/doctum.css">
|
|
<link rel="stylesheet" type="text/css" href="fonts/doctum-font.css">
|
|
<script src="js/jquery-3.5.1.slim.min.js"></script>
|
|
<script async defer src="doctum.js"></script>
|
|
<script async defer src="js/bootstrap.min.js"></script>
|
|
<script async defer src="js/autocomplete.min.js"></script>
|
|
<meta name="MobileOptimized" content="width">
|
|
<meta name="HandheldFriendly" content="true">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
|
|
|
|
<link rel="search"
|
|
type="application/opensearchdescription+xml"
|
|
href="https://phpredis.github.io/opensearch.xml"
|
|
title="PhpRedis API (main)" />
|
|
</head>
|
|
|
|
<body id="class" data-name="class:RedisCluster" data-root-path="" data-search-index-url="doctum-search.json">
|
|
<div id="content">
|
|
<div id="left-column">
|
|
<div id="control-panel">
|
|
<div class="search-bar hidden" id="search-progress-bar-container">
|
|
<div class="progress">
|
|
<div class="progress-bar" role="progressbar" id="search-progress-bar"
|
|
aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%"></div>
|
|
</div>
|
|
</div>
|
|
<form id="search-form" action="search.html">
|
|
<span class="icon icon-search"></span>
|
|
<input name="search"
|
|
id="doctum-search-auto-complete"
|
|
class="typeahead form-control"
|
|
type="search"
|
|
placeholder="Search"
|
|
spellcheck="false"
|
|
autocorrect="off"
|
|
autocomplete="off"
|
|
autocapitalize="off">
|
|
<div class="auto-complete-results" id="auto-complete-results"></div>
|
|
</form>
|
|
</div>
|
|
|
|
<div id="api-tree"></div>
|
|
|
|
</div>
|
|
<div id="right-column">
|
|
<nav id="site-nav" class="navbar navbar-default" role="navigation">
|
|
<div class="container-fluid">
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-elements">
|
|
<span class="sr-only">Toggle navigation</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<a class="navbar-brand" href="index.html">PhpRedis API</a>
|
|
</div>
|
|
<div class="collapse navbar-collapse" id="navbar-elements">
|
|
<ul class="nav navbar-nav">
|
|
<li><a href="classes.html">Classes</a></li>
|
|
<li><a href="interfaces.html">Interfaces</a></li>
|
|
<li><a href="traits.html">Traits</a></li>
|
|
<li><a href="doc-index.html">Index</a></li>
|
|
<li><a href="search.html">Search</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<div id="page-content">
|
|
<div class="page-header">
|
|
<h1>RedisCluster
|
|
</h1>
|
|
</div>
|
|
|
|
|
|
<p> class
|
|
<strong>RedisCluster</strong> (<a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php">View source</a>)
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h2>Methods</h2>
|
|
|
|
<div class="container-fluid underlined">
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method___construct">__construct</a>(string|null $name, array $seeds = NULL, int|float $timeout = 0, int|float $read_timeout = 0, bool $persistent = false, mixed $auth = NULL, array $context = NULL)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
string
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__compress">_compress</a>(string $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
string
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__uncompress">_uncompress</a>(string $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|string
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__serialize">_serialize</a>(mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__unserialize">_unserialize</a>(string $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
string
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__pack">_pack</a>(mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__unpack">_unpack</a>(string $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|string
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__prefix">_prefix</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__masters">_masters</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
string|null
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__redir">_redir</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_acl">acl</a>(string|array $key_or_address, string $subcmd, string ...$args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|int
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_append">append</a>(string $key, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_bgrewriteaof">bgrewriteaof</a>(string|array $key_or_address)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_bgsave">bgsave</a>(string|array $key_or_address)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|int
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_bitcount">bitcount</a>(string $key, int $start = 0, int $end = -1, bool $bybit = false)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|int
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_bitop">bitop</a>(string $operation, string $deskey, string $srckey, string ...$otherkeys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_bitpos">bitpos</a>(string $key, bool $bit, int $start = 0, int $end = -1, bool $bybit = false)
|
|
|
|
<p><p>Return the position of the first bit set to 0 or 1 in a string.</p></p> </div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|null|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_blpop">blpop</a>(string|array $key, string|float|int $timeout_or_key, mixed ...$extra_args)
|
|
|
|
<p><p>See Redis::blpop()</p></p> </div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|null|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_brpop">brpop</a>(string|array $key, string|float|int $timeout_or_key, mixed ...$extra_args)
|
|
|
|
<p><p>See Redis::brpop()</p></p> </div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_brpoplpush">brpoplpush</a>(string $srckey, string $deskey, int $timeout)
|
|
|
|
<p><p>See Redis::brpoplpush()</p></p> </div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_bzpopmax">bzpopmax</a>(string|array $key, string|int $timeout_or_key, mixed ...$extra_args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_bzpopmin">bzpopmin</a>(string|array $key, string|int $timeout_or_key, mixed ...$extra_args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|null|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_bzmpop">bzmpop</a>(float $timeout, array $keys, string $from, int $count = 1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|null|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zmpop">zmpop</a>(array $keys, string $from, int $count = 1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|null|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_blmpop">blmpop</a>(float $timeout, array $keys, string $from, int $count = 1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|null|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lmpop">lmpop</a>(array $keys, string $from, int $count = 1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_clearlasterror">clearlasterror</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
array|string|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_client">client</a>(string|array $key_or_address, string $subcommand, string|null $arg = NULL)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_close">close</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_cluster">cluster</a>(string|array $key_or_address, string $command, mixed ...$extra_args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_command">command</a>(mixed ...$extra_args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_config">config</a>(string|array $key_or_address, string $subcommand, mixed ...$extra_args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_dbsize">dbsize</a>(string|array $key_or_address)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_decr">decr</a>(string $key, int $by = 1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_decrby">decrby</a>(string $key, int $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
float
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_decrbyfloat">decrbyfloat</a>(string $key, float $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_del">del</a>(array|string $key, string ...$other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_discard">discard</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_dump">dump</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_echo">echo</a>(string|array $key_or_address, string $msg)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_eval">eval</a>(string $script, array $args = [], int $num_keys = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_eval_ro">eval_ro</a>(string $script, array $args = [], int $num_keys = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_evalsha">evalsha</a>(string $script_sha, array $args = [], int $num_keys = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_evalsha_ro">evalsha_ro</a>(string $script_sha, array $args = [], int $num_keys = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_exec">exec</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_exists">exists</a>(mixed $key, mixed ...$other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_touch">touch</a>(mixed $key, mixed ...$other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_expire">expire</a>(string $key, int $timeout, string|null $mode = NULL)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_expireat">expireat</a>(string $key, int $timestamp, string|null $mode = NULL)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_expiretime">expiretime</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pexpiretime">pexpiretime</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_flushall">flushall</a>(string|array $key_or_address, bool $async = false)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_flushdb">flushdb</a>(string|array $key_or_address, bool $async = false)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_geoadd">geoadd</a>(string $key, float $lng, float $lat, string $member, mixed ...$other_triples_and_options)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|float|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_geodist">geodist</a>(string $key, string $src, string $dest, string|null $unit = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_geohash">geohash</a>(string $key, string $member, string ...$other_members)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_geopos">geopos</a>(string $key, string $member, string ...$other_members)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_georadius">georadius</a>(string $key, float $lng, float $lat, float $radius, string $unit, array $options = [])
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_georadius_ro">georadius_ro</a>(string $key, float $lng, float $lat, float $radius, string $unit, array $options = [])
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_georadiusbymember">georadiusbymember</a>(string $key, string $member, float $radius, string $unit, array $options = [])
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_georadiusbymember_ro">georadiusbymember_ro</a>(string $key, string $member, float $radius, string $unit, array $options = [])
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_get">get</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getbit">getbit</a>(string $key, int $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
string|null
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getlasterror">getlasterror</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
int
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getmode">getmode</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getoption">getoption</a>(int $option)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getrange">getrange</a>(string $key, int $start, int $end)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|array|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lcs">lcs</a>(string $key1, string $key2, array|null $options = NULL)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getset">getset</a>(string $key, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_gettransferredbytes">gettransferredbytes</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hdel">hdel</a>(string $key, string $member, string ...$other_members)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hexists">hexists</a>(string $key, string $member)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hget">hget</a>(string $key, string $member)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hgetall">hgetall</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hincrby">hincrby</a>(string $key, string $member, int $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|float|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hincrbyfloat">hincrbyfloat</a>(string $key, string $member, float $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hkeys">hkeys</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hlen">hlen</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hmget">hmget</a>(string $key, array $keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hmset">hmset</a>(string $key, array $key_values)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
array|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hscan">hscan</a>(string $key, int|null $iterator, string|null $pattern = null, int $count = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hset">hset</a>(string $key, string $member, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hsetnx">hsetnx</a>(string $key, string $member, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hstrlen">hstrlen</a>(string $key, string $field)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hvals">hvals</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_incr">incr</a>(string $key, int $by = 1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_incrby">incrby</a>(string $key, int $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|float|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_incrbyfloat">incrbyfloat</a>(string $key, float $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_info">info</a>(string|array $key_or_address, string ...$sections)
|
|
|
|
<p><p>Retrieve information about the connected redis-server. If no arguments are passed to
|
|
this function, redis will return every info field. Alternatively you may pass a specific
|
|
section you want returned (e.g. 'server', or 'memory') to receive only information pertaining
|
|
to that section.</p></p> </div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_keys">keys</a>(string $pattern)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lastsave">lastsave</a>(string|array $key_or_address)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lget">lget</a>(string $key, int $index)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lindex">lindex</a>(string $key, int $index)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_linsert">linsert</a>(string $key, string $pos, mixed $pivot, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_llen">llen</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|string|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lpop">lpop</a>(string $key, int $count = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lpush">lpush</a>(string $key, mixed $value, mixed ...$other_values)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lpushx">lpushx</a>(string $key, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lrange">lrange</a>(string $key, int $start, int $end)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lrem">lrem</a>(string $key, mixed $value, int $count = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lset">lset</a>(string $key, int $index, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_ltrim">ltrim</a>(string $key, int $start, int $end)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_mget">mget</a>(array $keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_mset">mset</a>(array $key_values)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_msetnx">msetnx</a>(array $key_values)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_multi">multi</a>(int $value = Redis::MULTI)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_object">object</a>(string $subcommand, string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_persist">persist</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pexpire">pexpire</a>(string $key, int $timeout, string|null $mode = NULL)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pexpireat">pexpireat</a>(string $key, int $timestamp, string|null $mode = NULL)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pfadd">pfadd</a>(string $key, array $elements)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pfcount">pfcount</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pfmerge">pfmerge</a>(string $key, array $keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_ping">ping</a>(string|array $key_or_address, string|null $message = NULL)
|
|
|
|
<p><p>PING an instance in the redis cluster.</p></p> </div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_psetex">psetex</a>(string $key, int $timeout, string $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
void
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_psubscribe">psubscribe</a>(array $patterns, callable $callback)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pttl">pttl</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_publish">publish</a>(string $channel, string $message)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pubsub">pubsub</a>(string|array $key_or_address, string ...$values)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_punsubscribe">punsubscribe</a>(string $pattern, string ...$other_patterns)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|string
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_randomkey">randomkey</a>(string|array $key_or_address)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_rawcommand">rawcommand</a>(string|array $key_or_address, string $command, mixed ...$args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_rename">rename</a>(string $key_src, string $key_dst)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_renamenx">renamenx</a>(string $key, string $newkey)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_restore">restore</a>(string $key, int $timeout, string $value, array|null $options = NULL)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_role">role</a>(string|array $key_or_address)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|string|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_rpop">rpop</a>(string $key, int $count = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|string
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_rpoplpush">rpoplpush</a>(string $src, string $dst)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_rpush">rpush</a>(string $key, mixed ...$elements)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|int
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_rpushx">rpushx</a>(string $key, string $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sadd">sadd</a>(string $key, mixed $value, mixed ...$other_values)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|int
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_saddarray">saddarray</a>(string $key, array $values)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_save">save</a>(string|array $key_or_address)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_scan">scan</a>(int|null $iterator, string|array $key_or_address, string|null $pattern = null, int $count = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_scard">scard</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_script">script</a>(string|array $key_or_address, mixed ...$args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sdiff">sdiff</a>(string $key, string ...$other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sdiffstore">sdiffstore</a>(string $dst, string $key, string ...$other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_set">set</a>(string $key, mixed $value, mixed $options = NULL)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_setbit">setbit</a>(string $key, int $offset, bool $onoff)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_setex">setex</a>(string $key, int $expire, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_setnx">setnx</a>(string $key, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_setoption">setoption</a>(int $option, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_setrange">setrange</a>(string $key, int $offset, string $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sinter">sinter</a>(array|string $key, string ...$other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sintercard">sintercard</a>(array $keys, int $limit = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sinterstore">sinterstore</a>(array|string $key, string ...$other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sismember">sismember</a>(string $key, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_slowlog">slowlog</a>(string|array $key_or_address, mixed ...$args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_smembers">smembers</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_smove">smove</a>(string $src, string $dst, string $member)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|bool|int|string
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sort">sort</a>(string $key, array|null $options = NULL)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|bool|int|string
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sort_ro">sort_ro</a>(string $key, array|null $options = NULL)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_spop">spop</a>(string $key, int $count = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_srandmember">srandmember</a>(string $key, int $count = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_srem">srem</a>(string $key, mixed $value, mixed ...$other_values)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sscan">sscan</a>(string $key, int|null $iterator, string|null $pattern = null, int $count = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_strlen">strlen</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
void
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_subscribe">subscribe</a>(array $channels, callable $cb)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sunion">sunion</a>(string $key, string ...$other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sunionstore">sunionstore</a>(string $dst, string $key, string ...$other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_time">time</a>(string|array $key_or_address)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_ttl">ttl</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_type">type</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_unsubscribe">unsubscribe</a>(array $channels)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_unlink">unlink</a>(array|string $key, string ...$other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_unwatch">unwatch</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_watch">watch</a>(string $key, string ...$other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xack">xack</a>(string $key, string $group, array $ids)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xadd">xadd</a>(string $key, string $id, array $values, int $maxlen = 0, bool $approx = false)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xclaim">xclaim</a>(string $key, string $group, string $consumer, int $min_iddle, array $ids, array $options)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xdel">xdel</a>(string $key, array $ids)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xgroup">xgroup</a>(string $operation, string $key = null, string $group = null, string $id_or_consumer = null, bool $mkstream = false, int $entries_read = -2)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
Redis|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xautoclaim">xautoclaim</a>(string $key, string $group, string $consumer, int $min_idle, string $start, int $count = -1, bool $justid = false)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xinfo">xinfo</a>(string $operation, string|null $arg1 = null, string|null $arg2 = null, int $count = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xlen">xlen</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xpending">xpending</a>(string $key, string $group, string|null $start = null, string|null $end = null, int $count = -1, string|null $consumer = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xrange">xrange</a>(string $key, string $start, string $end, int $count = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xread">xread</a>(array $streams, int $count = -1, int $block = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xreadgroup">xreadgroup</a>(string $group, string $consumer, array $streams, int $count = 1, int $block = 1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xrevrange">xrevrange</a>(string $key, string $start, string $end, int $count = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xtrim">xtrim</a>(string $key, int $maxlen, bool $approx = false, bool $minid = false, int $limit = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zadd">zadd</a>(string $key, array|float $score_or_options, mixed ...$more_scores_and_mems)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zcard">zcard</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zcount">zcount</a>(string $key, string $start, string $end)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|float|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zincrby">zincrby</a>(string $key, float $value, string $member)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zinterstore">zinterstore</a>(string $dst, array $keys, array|null $weights = null, string|null $aggregate = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zintercard">zintercard</a>(array $keys, int $limit = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zlexcount">zlexcount</a>(string $key, string $min, string $max)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zpopmax">zpopmax</a>(string $key, int $value = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zpopmin">zpopmin</a>(string $key, int $value = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zrange">zrange</a>(string $key, mixed $start, mixed $end, array|bool|null $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zrangestore">zrangestore</a>(string $dstkey, string $srckey, int $start, int $end, array|bool|null $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zrangebylex">zrangebylex</a>(string $key, string $min, string $max, int $offset = -1, int $count = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zrangebyscore">zrangebyscore</a>(string $key, string $start, string $end, array $options = [])
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zrank">zrank</a>(string $key, mixed $member)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zrem">zrem</a>(string $key, string $value, string ...$other_values)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zremrangebylex">zremrangebylex</a>(string $key, string $min, string $max)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zremrangebyrank">zremrangebyrank</a>(string $key, string $min, string $max)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zremrangebyscore">zremrangebyscore</a>(string $key, string $min, string $max)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zrevrange">zrevrange</a>(string $key, string $min, string $max, array $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zrevrangebylex">zrevrangebylex</a>(string $key, string $min, string $max, array $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zrevrangebyscore">zrevrangebyscore</a>(string $key, string $min, string $max, array $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zrevrank">zrevrank</a>(string $key, mixed $member)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zscan">zscan</a>(string $key, int|null $iterator, string|null $pattern = null, int $count = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|float|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zscore">zscore</a>(string $key, mixed $member)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zunionstore">zunionstore</a>(string $dst, array $keys, array|null $weights = NULL, string|null $aggregate = NULL)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<h2>Details</h2>
|
|
|
|
<div id="method-details">
|
|
<div class="method-item">
|
|
<h3 id="method___construct">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L11">at line 11</a></div>
|
|
<code>
|
|
<strong>__construct</strong>(string|null $name, array $seeds = NULL, int|float $timeout = 0, int|float $read_timeout = 0, bool $persistent = false, mixed $auth = NULL, array $context = NULL)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$name</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$seeds</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int|float</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int|float</td>
|
|
<td>$read_timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$persistent</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$auth</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$context</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method__compress">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L16">at line 16</a></div>
|
|
<code> string
|
|
<strong>_compress</strong>(string $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method__compress">
|
|
Redis::_compress</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method__uncompress">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L21">at line 21</a></div>
|
|
<code> string
|
|
<strong>_uncompress</strong>(string $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method__uncompress">
|
|
Redis::_uncompress</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method__serialize">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L26">at line 26</a></div>
|
|
<code> bool|string
|
|
<strong>_serialize</strong>(mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|string</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method__serialize">
|
|
Redis::_serialize</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method__unserialize">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L31">at line 31</a></div>
|
|
<code> mixed
|
|
<strong>_unserialize</strong>(string $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method__unserialize">
|
|
Redis::_unserialize</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method__pack">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L36">at line 36</a></div>
|
|
<code> string
|
|
<strong>_pack</strong>(mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method__pack">
|
|
Redis::_pack</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method__unpack">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L41">at line 41</a></div>
|
|
<code> mixed
|
|
<strong>_unpack</strong>(string $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method__unpack">
|
|
Redis::_unpack</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method__prefix">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L46">at line 46</a></div>
|
|
<code> bool|string
|
|
<strong>_prefix</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|string</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method__prefix">
|
|
Redis::_prefix</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method__masters">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L48">at line 48</a></div>
|
|
<code> array
|
|
<strong>_masters</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method__redir">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L50">at line 50</a></div>
|
|
<code> string|null
|
|
<strong>_redir</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_acl">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L55">at line 55</a></div>
|
|
<code> mixed
|
|
<strong>acl</strong>(string|array $key_or_address, string $subcmd, string ...$args)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$subcmd</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::acl
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_append">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L60">at line 60</a></div>
|
|
<code> RedisCluster|bool|int
|
|
<strong>append</strong>(string $key, mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_append">
|
|
Redis::append</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_bgrewriteaof">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L65">at line 65</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>bgrewriteaof</strong>(string|array $key_or_address)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::bgrewriteaof
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_bgsave">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L70">at line 70</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>bgsave</strong>(string|array $key_or_address)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::bgsave
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_bitcount">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L75">at line 75</a></div>
|
|
<code> RedisCluster|bool|int
|
|
<strong>bitcount</strong>(string $key, int $start = 0, int $end = -1, bool $bybit = false)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$bybit</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::bitcount
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_bitop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L80">at line 80</a></div>
|
|
<code> RedisCluster|bool|int
|
|
<strong>bitop</strong>(string $operation, string $deskey, string $srckey, string ...$otherkeys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$operation</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$deskey</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$srckey</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$otherkeys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::bitop
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_bitpos">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L94">at line 94</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>bitpos</strong>(string $key, bool $bit, int $start = 0, int $end = -1, bool $bybit = false)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p><p>Return the position of the first bit set to 0 or 1 in a string.</p></p>
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td><p>The key to check (must be a string)</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$bit</td>
|
|
<td><p>Whether to look for an unset (0) or set (1) bit.</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$start</td>
|
|
<td><p>Where in the string to start looking.</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$end</td>
|
|
<td><p>Where in the string to stop looking.</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$bybit</td>
|
|
<td><p>If true, Redis will treat $start and $end as BIT values and not bytes, so if start
|
|
was 0 and end was 2, Redis would only search the first two bits.</p></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="https://https://redis.io/commands/bitpos/">https://https://redis.io/commands/bitpos/</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_blpop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L99">at line 99</a></div>
|
|
<code> RedisCluster|array|null|false
|
|
<strong>blpop</strong>(string|array $key, string|float|int $timeout_or_key, mixed ...$extra_args)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p><p>See Redis::blpop()</p></p>
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|float|int</td>
|
|
<td>$timeout_or_key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$extra_args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|null|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_brpop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L104">at line 104</a></div>
|
|
<code> RedisCluster|array|null|false
|
|
<strong>brpop</strong>(string|array $key, string|float|int $timeout_or_key, mixed ...$extra_args)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p><p>See Redis::brpop()</p></p>
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|float|int</td>
|
|
<td>$timeout_or_key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$extra_args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|null|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_brpoplpush">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L109">at line 109</a></div>
|
|
<code> mixed
|
|
<strong>brpoplpush</strong>(string $srckey, string $deskey, int $timeout)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p><p>See Redis::brpoplpush()</p></p>
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$srckey</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$deskey</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_bzpopmax">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L114">at line 114</a></div>
|
|
<code> array
|
|
<strong>bzpopmax</strong>(string|array $key, string|int $timeout_or_key, mixed ...$extra_args)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|int</td>
|
|
<td>$timeout_or_key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$extra_args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::bzpopmax
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_bzpopmin">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L119">at line 119</a></div>
|
|
<code> array
|
|
<strong>bzpopmin</strong>(string|array $key, string|int $timeout_or_key, mixed ...$extra_args)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|int</td>
|
|
<td>$timeout_or_key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$extra_args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::bzpopmin
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_bzmpop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L124">at line 124</a></div>
|
|
<code> RedisCluster|array|null|false
|
|
<strong>bzmpop</strong>(float $timeout, array $keys, string $from, int $count = 1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$from</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|null|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::bzmpop
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zmpop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L129">at line 129</a></div>
|
|
<code> RedisCluster|array|null|false
|
|
<strong>zmpop</strong>(array $keys, string $from, int $count = 1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$from</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|null|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zmpop
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_blmpop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L134">at line 134</a></div>
|
|
<code> RedisCluster|array|null|false
|
|
<strong>blmpop</strong>(float $timeout, array $keys, string $from, int $count = 1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$from</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|null|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_blmpop">
|
|
Redis::blmpop</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_lmpop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L139">at line 139</a></div>
|
|
<code> RedisCluster|array|null|false
|
|
<strong>lmpop</strong>(array $keys, string $from, int $count = 1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$from</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|null|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_lmpop">
|
|
Redis::lmpop</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_clearlasterror">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L144">at line 144</a></div>
|
|
<code> bool
|
|
<strong>clearlasterror</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
\Redis::clearlasterror()
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_client">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L149">at line 149</a></div>
|
|
<code> array|string|bool
|
|
<strong>client</strong>(string|array $key_or_address, string $subcommand, string|null $arg = NULL)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$subcommand</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$arg</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array|string|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::client
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_close">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L154">at line 154</a></div>
|
|
<code> bool
|
|
<strong>close</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::close
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_cluster">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L159">at line 159</a></div>
|
|
<code> mixed
|
|
<strong>cluster</strong>(string|array $key_or_address, string $command, mixed ...$extra_args)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$command</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$extra_args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::cluster
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_command">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L164">at line 164</a></div>
|
|
<code> mixed
|
|
<strong>command</strong>(mixed ...$extra_args)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$extra_args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::command
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_config">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L169">at line 169</a></div>
|
|
<code> mixed
|
|
<strong>config</strong>(string|array $key_or_address, string $subcommand, mixed ...$extra_args)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$subcommand</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$extra_args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_config">
|
|
Redis::config</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_dbsize">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L174">at line 174</a></div>
|
|
<code> RedisCluster|int
|
|
<strong>dbsize</strong>(string|array $key_or_address)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
\Redis::dbsize()
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_decr">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L179">at line 179</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>decr</strong>(string $key, int $by = 1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$by</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_decr">
|
|
Redis::decr</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_decrby">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L184">at line 184</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>decrby</strong>(string $key, int $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
\Redis::decrby()
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_decrbyfloat">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L189">at line 189</a></div>
|
|
<code> float
|
|
<strong>decrbyfloat</strong>(string $key, float $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>float</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::decrbyfloat
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_del">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L194">at line 194</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>del</strong>(array|string $key, string ...$other_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array|string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_del">
|
|
Redis::del</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_discard">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L199">at line 199</a></div>
|
|
<code> bool
|
|
<strong>discard</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::discard
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_dump">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L204">at line 204</a></div>
|
|
<code> RedisCluster|string|false
|
|
<strong>dump</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::dump
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_echo">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L209">at line 209</a></div>
|
|
<code> RedisCluster|string|false
|
|
<strong>echo</strong>(string|array $key_or_address, string $msg)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$msg</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_echo">
|
|
Redis::echo</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_eval">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L214">at line 214</a></div>
|
|
<code> mixed
|
|
<strong>eval</strong>(string $script, array $args = [], int $num_keys = 0)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$script</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$args</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$num_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::eval
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_eval_ro">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L219">at line 219</a></div>
|
|
<code> mixed
|
|
<strong>eval_ro</strong>(string $script, array $args = [], int $num_keys = 0)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$script</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$args</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$num_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::eval_ro
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_evalsha">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L224">at line 224</a></div>
|
|
<code> mixed
|
|
<strong>evalsha</strong>(string $script_sha, array $args = [], int $num_keys = 0)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$script_sha</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$args</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$num_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::evalsha
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_evalsha_ro">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L229">at line 229</a></div>
|
|
<code> mixed
|
|
<strong>evalsha_ro</strong>(string $script_sha, array $args = [], int $num_keys = 0)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$script_sha</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$args</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$num_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::evalsha_ro
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_exec">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L234">at line 234</a></div>
|
|
<code> array|false
|
|
<strong>exec</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_exec">
|
|
Redis::exec</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_exists">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L239">at line 239</a></div>
|
|
<code> RedisCluster|int|bool
|
|
<strong>exists</strong>(mixed $key, mixed ...$other_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::exists
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_touch">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L244">at line 244</a></div>
|
|
<code> RedisCluster|int|bool
|
|
<strong>touch</strong>(mixed $key, mixed ...$other_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_touch">
|
|
Redis::touch</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_expire">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L249">at line 249</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>expire</strong>(string $key, int $timeout, string|null $mode = NULL)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$mode</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::expire
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_expireat">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L254">at line 254</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>expireat</strong>(string $key, int $timestamp, string|null $mode = NULL)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$timestamp</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$mode</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::expireat
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_expiretime">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L259">at line 259</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>expiretime</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_expiretime">
|
|
Redis::expiretime</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_pexpiretime">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L264">at line 264</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>pexpiretime</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_pexpiretime">
|
|
Redis::pexpiretime</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_flushall">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L269">at line 269</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>flushall</strong>(string|array $key_or_address, bool $async = false)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$async</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::flushall
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_flushdb">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L274">at line 274</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>flushdb</strong>(string|array $key_or_address, bool $async = false)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$async</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::flushdb
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_geoadd">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L279">at line 279</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>geoadd</strong>(string $key, float $lng, float $lat, string $member, mixed ...$other_triples_and_options)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$lng</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$lat</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$other_triples_and_options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::geoadd
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_geodist">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L284">at line 284</a></div>
|
|
<code> RedisCluster|float|false
|
|
<strong>geodist</strong>(string $key, string $src, string $dest, string|null $unit = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$src</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dest</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$unit</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|float|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::geodist
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_geohash">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L289">at line 289</a></div>
|
|
<code> RedisCluster|array|false
|
|
<strong>geohash</strong>(string $key, string $member, string ...$other_members)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_members</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::geohash
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_geopos">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L294">at line 294</a></div>
|
|
<code> RedisCluster|array|false
|
|
<strong>geopos</strong>(string $key, string $member, string ...$other_members)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_members</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::geopos
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_georadius">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L299">at line 299</a></div>
|
|
<code> mixed
|
|
<strong>georadius</strong>(string $key, float $lng, float $lat, float $radius, string $unit, array $options = [])
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$lng</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$lat</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$radius</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$unit</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::georadius
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_georadius_ro">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L304">at line 304</a></div>
|
|
<code> mixed
|
|
<strong>georadius_ro</strong>(string $key, float $lng, float $lat, float $radius, string $unit, array $options = [])
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$lng</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$lat</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$radius</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$unit</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::georadius_ro
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_georadiusbymember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L309">at line 309</a></div>
|
|
<code> mixed
|
|
<strong>georadiusbymember</strong>(string $key, string $member, float $radius, string $unit, array $options = [])
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$radius</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$unit</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::georadiusbymember
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_georadiusbymember_ro">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L314">at line 314</a></div>
|
|
<code> mixed
|
|
<strong>georadiusbymember_ro</strong>(string $key, string $member, float $radius, string $unit, array $options = [])
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$radius</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$unit</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::georadiusbymember_ro
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_get">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L319">at line 319</a></div>
|
|
<code> mixed
|
|
<strong>get</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::get
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_getbit">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L324">at line 324</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>getbit</strong>(string $key, int $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::getbit
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_getlasterror">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L329">at line 329</a></div>
|
|
<code> string|null
|
|
<strong>getlasterror</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::getlasterror
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_getmode">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L334">at line 334</a></div>
|
|
<code> int
|
|
<strong>getmode</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::getmode
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_getoption">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L339">at line 339</a></div>
|
|
<code> mixed
|
|
<strong>getoption</strong>(int $option)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$option</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::getoption
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_getrange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L344">at line 344</a></div>
|
|
<code> RedisCluster|string|false
|
|
<strong>getrange</strong>(string $key, int $start, int $end)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::getrange
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_lcs">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L349">at line 349</a></div>
|
|
<code> RedisCluster|string|array|int|false
|
|
<strong>lcs</strong>(string $key1, string $key2, array|null $options = NULL)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key1</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key2</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|array|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::lcs
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_getset">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L354">at line 354</a></div>
|
|
<code> RedisCluster|string|bool
|
|
<strong>getset</strong>(string $key, mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::getset
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_gettransferredbytes">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L359">at line 359</a></div>
|
|
<code> int|false
|
|
<strong>gettransferredbytes</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::gettransferredbytes
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hdel">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L364">at line 364</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>hdel</strong>(string $key, string $member, string ...$other_members)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_members</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::hdel
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hexists">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L369">at line 369</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>hexists</strong>(string $key, string $member)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::hexists
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hget">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L374">at line 374</a></div>
|
|
<code> mixed
|
|
<strong>hget</strong>(string $key, string $member)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::hget
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hgetall">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L379">at line 379</a></div>
|
|
<code> RedisCluster|array|false
|
|
<strong>hgetall</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::hgetall
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hincrby">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L384">at line 384</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>hincrby</strong>(string $key, string $member, int $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::hincrby
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hincrbyfloat">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L389">at line 389</a></div>
|
|
<code> RedisCluster|float|false
|
|
<strong>hincrbyfloat</strong>(string $key, string $member, float $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|float|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::hincrbyfloat
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hkeys">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L394">at line 394</a></div>
|
|
<code> RedisCluster|array|false
|
|
<strong>hkeys</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::hkeys
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hlen">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L399">at line 399</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>hlen</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::hlen
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hmget">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L404">at line 404</a></div>
|
|
<code> RedisCluster|array|false
|
|
<strong>hmget</strong>(string $key, array $keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::hmget
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hmset">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L409">at line 409</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>hmset</strong>(string $key, array $key_values)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$key_values</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::hmset
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hscan">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L414">at line 414</a></div>
|
|
<code> array|bool
|
|
<strong>hscan</strong>(string $key, int|null $iterator, string|null $pattern = null, int $count = 0)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int|null</td>
|
|
<td>$iterator</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$pattern</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::hscan
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hset">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L419">at line 419</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>hset</strong>(string $key, string $member, mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::hset
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hsetnx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L424">at line 424</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>hsetnx</strong>(string $key, string $member, mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::hsetnx
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hstrlen">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L429">at line 429</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>hstrlen</strong>(string $key, string $field)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$field</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::hstrlen
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hvals">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L434">at line 434</a></div>
|
|
<code> RedisCluster|array|false
|
|
<strong>hvals</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::hvals
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_incr">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L439">at line 439</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>incr</strong>(string $key, int $by = 1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$by</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::incr
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_incrby">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L444">at line 444</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>incrby</strong>(string $key, int $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::incrby
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_incrbyfloat">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L449">at line 449</a></div>
|
|
<code> RedisCluster|float|false
|
|
<strong>incrbyfloat</strong>(string $key, float $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|float|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::incrbyfloat
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_info">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L467">at line 467</a></div>
|
|
<code> RedisCluster|array|false
|
|
<strong>info</strong>(string|array $key_or_address, string ...$sections)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p><p>Retrieve information about the connected redis-server. If no arguments are passed to
|
|
this function, redis will return every info field. Alternatively you may pass a specific
|
|
section you want returned (e.g. 'server', or 'memory') to receive only information pertaining
|
|
to that section.</p></p> <p><p>If connected to Redis server >= 7.0.0 you may pass multiple optional sections.</p></p>
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td><p>Either a key name or array with host and port indicating
|
|
which cluster node we want to send the command to.</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$sections</td>
|
|
<td><p>Optional section(s) you wish Redis server to return.</p></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="https://redis.io/commands/info/">https://redis.io/commands/info/</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_keys">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L472">at line 472</a></div>
|
|
<code> RedisCluster|array|false
|
|
<strong>keys</strong>(string $pattern)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$pattern</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::keys
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_lastsave">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L477">at line 477</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>lastsave</strong>(string|array $key_or_address)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::lastsave
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_lget">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L482">at line 482</a></div>
|
|
<code> RedisCluster|string|bool
|
|
<strong>lget</strong>(string $key, int $index)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$index</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::lget
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_lindex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L487">at line 487</a></div>
|
|
<code> mixed
|
|
<strong>lindex</strong>(string $key, int $index)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$index</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::lindex
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_linsert">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L492">at line 492</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>linsert</strong>(string $key, string $pos, mixed $pivot, mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$pos</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$pivot</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::linsert
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_llen">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L497">at line 497</a></div>
|
|
<code> RedisCluster|int|bool
|
|
<strong>llen</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::llen
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_lpop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L502">at line 502</a></div>
|
|
<code> RedisCluster|bool|string|array
|
|
<strong>lpop</strong>(string $key, int $count = 0)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|string|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::lpop
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_lpush">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L507">at line 507</a></div>
|
|
<code> RedisCluster|int|bool
|
|
<strong>lpush</strong>(string $key, mixed $value, mixed ...$other_values)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$other_values</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::lpush
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_lpushx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L512">at line 512</a></div>
|
|
<code> RedisCluster|int|bool
|
|
<strong>lpushx</strong>(string $key, mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::lpushx
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_lrange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L517">at line 517</a></div>
|
|
<code> RedisCluster|array|false
|
|
<strong>lrange</strong>(string $key, int $start, int $end)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::lrange
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_lrem">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L522">at line 522</a></div>
|
|
<code> RedisCluster|int|bool
|
|
<strong>lrem</strong>(string $key, mixed $value, int $count = 0)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::lrem
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_lset">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L527">at line 527</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>lset</strong>(string $key, int $index, mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$index</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::lset
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_ltrim">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L532">at line 532</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>ltrim</strong>(string $key, int $start, int $end)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::ltrim
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_mget">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L537">at line 537</a></div>
|
|
<code> RedisCluster|array|false
|
|
<strong>mget</strong>(array $keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::mget
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_mset">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L542">at line 542</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>mset</strong>(array $key_values)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$key_values</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::mset
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_msetnx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L547">at line 547</a></div>
|
|
<code> RedisCluster|array|false
|
|
<strong>msetnx</strong>(array $key_values)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$key_values</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::msetnx
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_multi">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L552">at line 552</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>multi</strong>(int $value = Redis::MULTI)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_object">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L557">at line 557</a></div>
|
|
<code> RedisCluster|int|string|false
|
|
<strong>object</strong>(string $subcommand, string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$subcommand</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::object
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_persist">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L562">at line 562</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>persist</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::persist
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_pexpire">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L567">at line 567</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>pexpire</strong>(string $key, int $timeout, string|null $mode = NULL)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$mode</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::pexpire
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_pexpireat">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L572">at line 572</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>pexpireat</strong>(string $key, int $timestamp, string|null $mode = NULL)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$timestamp</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$mode</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::pexpireat
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_pfadd">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L578">at line 578</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>pfadd</strong>(string $key, array $elements)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$elements</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_pfadd">
|
|
Redis::pfadd</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_pfcount">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L583">at line 583</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>pfcount</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_pfcount">
|
|
Redis::pfcount</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_pfmerge">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L588">at line 588</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>pfmerge</strong>(string $key, array $keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_pfmerge">
|
|
Redis::pfmerge</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_ping">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L603">at line 603</a></div>
|
|
<code> mixed
|
|
<strong>ping</strong>(string|array $key_or_address, string|null $message = NULL)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p><p>PING an instance in the redis cluster.</p></p>
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td><p>Either a key name or a two element array with host and
|
|
address, informing RedisCluster which node to ping.</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$message</td>
|
|
<td><p>An optional message to send.</p></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td><p>This method always returns <code>true</code> if no message was sent, and the message itself
|
|
if one was.</p></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_ping">
|
|
Redis::ping</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_psetex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L608">at line 608</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>psetex</strong>(string $key, int $timeout, string $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::psetex
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_psubscribe">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L613">at line 613</a></div>
|
|
<code> void
|
|
<strong>psubscribe</strong>(array $patterns, callable $callback)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$patterns</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>callable</td>
|
|
<td>$callback</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>void</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::psubscribe
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_pttl">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L618">at line 618</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>pttl</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::pttl
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_publish">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L623">at line 623</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>publish</strong>(string $channel, string $message)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$channel</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$message</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::publish
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_pubsub">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L628">at line 628</a></div>
|
|
<code> mixed
|
|
<strong>pubsub</strong>(string|array $key_or_address, string ...$values)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$values</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::pubsub
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_punsubscribe">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L633">at line 633</a></div>
|
|
<code> bool|array
|
|
<strong>punsubscribe</strong>(string $pattern, string ...$other_patterns)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$pattern</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_patterns</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::punsubscribe
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_randomkey">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L638">at line 638</a></div>
|
|
<code> RedisCluster|bool|string
|
|
<strong>randomkey</strong>(string|array $key_or_address)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|string</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::randomkey
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_rawcommand">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L643">at line 643</a></div>
|
|
<code> mixed
|
|
<strong>rawcommand</strong>(string|array $key_or_address, string $command, mixed ...$args)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$command</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::rawcommand
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_rename">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L648">at line 648</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>rename</strong>(string $key_src, string $key_dst)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key_src</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key_dst</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::rename
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_renamenx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L653">at line 653</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>renamenx</strong>(string $key, string $newkey)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$newkey</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::renamenx
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_restore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L658">at line 658</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>restore</strong>(string $key, int $timeout, string $value, array|null $options = NULL)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::restore
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_role">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L663">at line 663</a></div>
|
|
<code> mixed
|
|
<strong>role</strong>(string|array $key_or_address)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::role
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_rpop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L668">at line 668</a></div>
|
|
<code> RedisCluster|bool|string|array
|
|
<strong>rpop</strong>(string $key, int $count = 0)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|string|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
\Redis::rpop()
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_rpoplpush">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L673">at line 673</a></div>
|
|
<code> RedisCluster|bool|string
|
|
<strong>rpoplpush</strong>(string $src, string $dst)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$src</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|string</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_rpoplpush">
|
|
Redis::rpoplpush</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_rpush">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L678">at line 678</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>rpush</strong>(string $key, mixed ...$elements)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$elements</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::rpush
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_rpushx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L683">at line 683</a></div>
|
|
<code> RedisCluster|bool|int
|
|
<strong>rpushx</strong>(string $key, string $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::rpushx
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sadd">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L688">at line 688</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>sadd</strong>(string $key, mixed $value, mixed ...$other_values)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$other_values</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
\Redis::sadd()
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_saddarray">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L693">at line 693</a></div>
|
|
<code> RedisCluster|bool|int
|
|
<strong>saddarray</strong>(string $key, array $values)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$values</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
\Redis::saddarray()
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_save">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L698">at line 698</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>save</strong>(string|array $key_or_address)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::save
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_scan">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L703">at line 703</a></div>
|
|
<code> bool|array
|
|
<strong>scan</strong>(int|null $iterator, string|array $key_or_address, string|null $pattern = null, int $count = 0)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int|null</td>
|
|
<td>$iterator</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$pattern</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::scan
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_scard">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L708">at line 708</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>scard</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::scard
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_script">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L713">at line 713</a></div>
|
|
<code> mixed
|
|
<strong>script</strong>(string|array $key_or_address, mixed ...$args)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::script
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sdiff">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L718">at line 718</a></div>
|
|
<code> RedisCluster|array|false
|
|
<strong>sdiff</strong>(string $key, string ...$other_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
\Redis::sdiff()
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sdiffstore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L723">at line 723</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>sdiffstore</strong>(string $dst, string $key, string ...$other_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
\Redis::sdiffstore()
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_set">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L728">at line 728</a></div>
|
|
<code> RedisCluster|string|bool
|
|
<strong>set</strong>(string $key, mixed $value, mixed $options = NULL)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="https://redis.io/commands/set">https://redis.io/commands/set</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_setbit">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L733">at line 733</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>setbit</strong>(string $key, int $offset, bool $onoff)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$offset</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$onoff</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::setbit
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_setex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L738">at line 738</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>setex</strong>(string $key, int $expire, mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$expire</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::setex
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_setnx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L743">at line 743</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>setnx</strong>(string $key, mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::setnx
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_setoption">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L748">at line 748</a></div>
|
|
<code> bool
|
|
<strong>setoption</strong>(int $option, mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$option</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::setoption
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_setrange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L753">at line 753</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>setrange</strong>(string $key, int $offset, string $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$offset</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::setrange
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sinter">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L758">at line 758</a></div>
|
|
<code> RedisCluster|array|false
|
|
<strong>sinter</strong>(array|string $key, string ...$other_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array|string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
\Redis::sinter()
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sintercard">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L763">at line 763</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>sintercard</strong>(array $keys, int $limit = -1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$limit</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::sintercard
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sinterstore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L768">at line 768</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>sinterstore</strong>(array|string $key, string ...$other_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array|string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
\Redis::sinterstore()
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sismember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L773">at line 773</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>sismember</strong>(string $key, mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::sismember
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_slowlog">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L778">at line 778</a></div>
|
|
<code> mixed
|
|
<strong>slowlog</strong>(string|array $key_or_address, mixed ...$args)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::slowlog
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_smembers">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L783">at line 783</a></div>
|
|
<code> RedisCluster|array|false
|
|
<strong>smembers</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
\Redis::smembers()
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_smove">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L788">at line 788</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>smove</strong>(string $src, string $dst, string $member)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$src</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
\Redis::smove()
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sort">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L793">at line 793</a></div>
|
|
<code> RedisCluster|array|bool|int|string
|
|
<strong>sort</strong>(string $key, array|null $options = NULL)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|bool|int|string</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_sort">
|
|
Redis::sort</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sort_ro">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L798">at line 798</a></div>
|
|
<code> RedisCluster|array|bool|int|string
|
|
<strong>sort_ro</strong>(string $key, array|null $options = NULL)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|bool|int|string</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_sort_ro">
|
|
Redis::sort_ro</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_spop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L803">at line 803</a></div>
|
|
<code> RedisCluster|string|array|false
|
|
<strong>spop</strong>(string $key, int $count = 0)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::spop
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_srandmember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L808">at line 808</a></div>
|
|
<code> RedisCluster|string|array|false
|
|
<strong>srandmember</strong>(string $key, int $count = 0)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::srandmember
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_srem">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L813">at line 813</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>srem</strong>(string $key, mixed $value, mixed ...$other_values)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$other_values</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::srem
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sscan">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L818">at line 818</a></div>
|
|
<code> array|false
|
|
<strong>sscan</strong>(string $key, int|null $iterator, string|null $pattern = null, int $count = 0)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int|null</td>
|
|
<td>$iterator</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$pattern</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::sscan
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_strlen">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L823">at line 823</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>strlen</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::strlen
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_subscribe">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L828">at line 828</a></div>
|
|
<code> void
|
|
<strong>subscribe</strong>(array $channels, callable $cb)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$channels</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>callable</td>
|
|
<td>$cb</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>void</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::subscribe
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sunion">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L833">at line 833</a></div>
|
|
<code> RedisCluster|bool|array
|
|
<strong>sunion</strong>(string $key, string ...$other_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
\Redis::sunion()
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sunionstore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L838">at line 838</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>sunionstore</strong>(string $dst, string $key, string ...$other_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
\Redis::sunionstore()
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_time">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L843">at line 843</a></div>
|
|
<code> RedisCluster|bool|array
|
|
<strong>time</strong>(string|array $key_or_address)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::time
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_ttl">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L848">at line 848</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>ttl</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::ttl
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_type">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L853">at line 853</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>type</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::type
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_unsubscribe">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L858">at line 858</a></div>
|
|
<code> bool|array
|
|
<strong>unsubscribe</strong>(array $channels)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$channels</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::unsubscribe
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_unlink">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L863">at line 863</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>unlink</strong>(array|string $key, string ...$other_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array|string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::unlink
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_unwatch">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L868">at line 868</a></div>
|
|
<code> bool
|
|
<strong>unwatch</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::unwatch
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_watch">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L873">at line 873</a></div>
|
|
<code> RedisCluster|bool
|
|
<strong>watch</strong>(string $key, string ...$other_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::watch
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xack">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L878">at line 878</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>xack</strong>(string $key, string $group, array $ids)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$group</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$ids</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::xack
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xadd">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L883">at line 883</a></div>
|
|
<code> RedisCluster|string|false
|
|
<strong>xadd</strong>(string $key, string $id, array $values, int $maxlen = 0, bool $approx = false)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$id</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$values</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$maxlen</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$approx</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::xadd
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xclaim">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L888">at line 888</a></div>
|
|
<code> RedisCluster|string|array|false
|
|
<strong>xclaim</strong>(string $key, string $group, string $consumer, int $min_iddle, array $ids, array $options)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$group</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$consumer</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$min_iddle</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$ids</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::xclaim
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xdel">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L893">at line 893</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>xdel</strong>(string $key, array $ids)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$ids</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::xdel
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xgroup">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L898">at line 898</a></div>
|
|
<code> mixed
|
|
<strong>xgroup</strong>(string $operation, string $key = null, string $group = null, string $id_or_consumer = null, bool $mkstream = false, int $entries_read = -2)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$operation</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$group</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$id_or_consumer</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$mkstream</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$entries_read</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::xgroup
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xautoclaim">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L904">at line 904</a></div>
|
|
<code> Redis|bool|array
|
|
<strong>xautoclaim</strong>(string $key, string $group, string $consumer, int $min_idle, string $start, int $count = -1, bool $justid = false)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$group</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$consumer</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$min_idle</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$justid</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>Redis|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::xautoclaim
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xinfo">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L909">at line 909</a></div>
|
|
<code> mixed
|
|
<strong>xinfo</strong>(string $operation, string|null $arg1 = null, string|null $arg2 = null, int $count = -1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$operation</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$arg1</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$arg2</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::xinfo
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xlen">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L914">at line 914</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>xlen</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::xlen
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xpending">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L919">at line 919</a></div>
|
|
<code> RedisCluster|array|false
|
|
<strong>xpending</strong>(string $key, string $group, string|null $start = null, string|null $end = null, int $count = -1, string|null $consumer = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$group</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$consumer</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::xpending
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xrange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L924">at line 924</a></div>
|
|
<code> RedisCluster|bool|array
|
|
<strong>xrange</strong>(string $key, string $start, string $end, int $count = -1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::xrange
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xread">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L929">at line 929</a></div>
|
|
<code> RedisCluster|bool|array
|
|
<strong>xread</strong>(array $streams, int $count = -1, int $block = -1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$streams</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$block</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::xread
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xreadgroup">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L934">at line 934</a></div>
|
|
<code> RedisCluster|bool|array
|
|
<strong>xreadgroup</strong>(string $group, string $consumer, array $streams, int $count = 1, int $block = 1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$group</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$consumer</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$streams</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$block</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::xreadgroup
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xrevrange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L939">at line 939</a></div>
|
|
<code> RedisCluster|bool|array
|
|
<strong>xrevrange</strong>(string $key, string $start, string $end, int $count = -1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::xrevrange
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xtrim">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L944">at line 944</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>xtrim</strong>(string $key, int $maxlen, bool $approx = false, bool $minid = false, int $limit = -1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$maxlen</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$approx</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$minid</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$limit</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::xtrim
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zadd">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L949">at line 949</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>zadd</strong>(string $key, array|float $score_or_options, mixed ...$more_scores_and_mems)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|float</td>
|
|
<td>$score_or_options</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$more_scores_and_mems</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zadd
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zcard">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L954">at line 954</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>zcard</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zcard
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zcount">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L959">at line 959</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>zcount</strong>(string $key, string $start, string $end)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zcount
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zincrby">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L964">at line 964</a></div>
|
|
<code> RedisCluster|float|false
|
|
<strong>zincrby</strong>(string $key, float $value, string $member)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|float|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zincrby
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zinterstore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L969">at line 969</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>zinterstore</strong>(string $dst, array $keys, array|null $weights = null, string|null $aggregate = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$weights</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$aggregate</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zinterstore
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zintercard">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L974">at line 974</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>zintercard</strong>(array $keys, int $limit = -1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$limit</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zintercard
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zlexcount">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L979">at line 979</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>zlexcount</strong>(string $key, string $min, string $max)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$min</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$max</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zlexcount
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zpopmax">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L984">at line 984</a></div>
|
|
<code> RedisCluster|bool|array
|
|
<strong>zpopmax</strong>(string $key, int $value = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zpopmax
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zpopmin">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L989">at line 989</a></div>
|
|
<code> RedisCluster|bool|array
|
|
<strong>zpopmin</strong>(string $key, int $value = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zpopmin
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zrange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L994">at line 994</a></div>
|
|
<code> RedisCluster|array|bool
|
|
<strong>zrange</strong>(string $key, mixed $start, mixed $end, array|bool|null $options = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|bool|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zrange
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zrangestore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L999">at line 999</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>zrangestore</strong>(string $dstkey, string $srckey, int $start, int $end, array|bool|null $options = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dstkey</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$srckey</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|bool|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zrangestore
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zrangebylex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L1005">at line 1005</a></div>
|
|
<code> RedisCluster|array|false
|
|
<strong>zrangebylex</strong>(string $key, string $min, string $max, int $offset = -1, int $count = -1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$min</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$max</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$offset</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zrangebylex
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zrangebyscore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L1010">at line 1010</a></div>
|
|
<code> RedisCluster|array|false
|
|
<strong>zrangebyscore</strong>(string $key, string $start, string $end, array $options = [])
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zrangebyscore
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zrank">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L1015">at line 1015</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>zrank</strong>(string $key, mixed $member)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zrank
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zrem">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L1020">at line 1020</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>zrem</strong>(string $key, string $value, string ...$other_values)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_values</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zrem
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zremrangebylex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L1025">at line 1025</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>zremrangebylex</strong>(string $key, string $min, string $max)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$min</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$max</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zremrangebylex
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zremrangebyrank">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L1030">at line 1030</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>zremrangebyrank</strong>(string $key, string $min, string $max)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$min</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$max</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zremrangebyrank
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zremrangebyscore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L1035">at line 1035</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>zremrangebyscore</strong>(string $key, string $min, string $max)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$min</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$max</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zremrangebyscore
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zrevrange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L1040">at line 1040</a></div>
|
|
<code> RedisCluster|bool|array
|
|
<strong>zrevrange</strong>(string $key, string $min, string $max, array $options = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$min</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$max</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zrevrange
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zrevrangebylex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L1045">at line 1045</a></div>
|
|
<code> RedisCluster|bool|array
|
|
<strong>zrevrangebylex</strong>(string $key, string $min, string $max, array $options = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$min</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$max</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zrevrangebylex
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zrevrangebyscore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L1050">at line 1050</a></div>
|
|
<code> RedisCluster|bool|array
|
|
<strong>zrevrangebyscore</strong>(string $key, string $min, string $max, array $options = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$min</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$max</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zrevrangebyscore
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zrevrank">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L1055">at line 1055</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>zrevrank</strong>(string $key, mixed $member)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zrevrank
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zscan">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L1060">at line 1060</a></div>
|
|
<code> RedisCluster|bool|array
|
|
<strong>zscan</strong>(string $key, int|null $iterator, string|null $pattern = null, int $count = 0)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int|null</td>
|
|
<td>$iterator</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$pattern</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zscan
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zscore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L1065">at line 1065</a></div>
|
|
<code> RedisCluster|float|false
|
|
<strong>zscore</strong>(string $key, mixed $member)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|float|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zscore
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zunionstore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_cluster.stub.php#L1070">at line 1070</a></div>
|
|
<code> RedisCluster|int|false
|
|
<strong>zunionstore</strong>(string $dst, array $keys, array|null $weights = NULL, string|null $aggregate = NULL)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$weights</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$aggregate</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
Redis::zunionstore
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div><div id="footer">
|
|
Generated by <a href="https://github.com/code-lts/doctum">Doctum, a API Documentation generator and fork of Sami</a>.</div></div>
|
|
</div>
|
|
</body>
|
|
|
|
</html>
|