Files
redis/docs/Redis.html
2020-02-10 00:10:44 +01:00

5369 lines
194 KiB
HTML

<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="content">
<div class="logo">
<a href="http://github.com/carp-lang/Carp">
<img src="logo.png">
</a>
<div class="title">
redis
</div>
<div class="index">
<ul>
<li>
<a href="RESP.html">
RESP
</a>
</li>
<li>
<a href="Redis.html">
Redis
</a>
</li>
</ul>
</div>
</div>
<h1>
Redis
</h1>
<div class="module-description">
<p>is a wrapper around Redis connections. It supports opening a
connection using <a href="#open"><code>open</code></a> or <a href="#open-on"><code>open-on</code></a>, reading from and
sending to the connection (using <a href="#read"><code>read</code></a> and <a href="#send"><code>send</code></a>,
respectively), and contains thin wrappers around all Redis commands (everything
else).</p>
</div>
<div class="binder">
<a class="anchor" href="#append">
<h3 id="append">
append
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(append r key value)
</pre>
<p class="doc">
<p>is a wrapper around the <code>append</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/append">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#auth">
<h3 id="auth">
auth
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(auth r password)
</pre>
<p class="doc">
<p>is a wrapper around the <code>auth</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/auth">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#bgrewriteaof">
<h3 id="bgrewriteaof">
bgrewriteaof
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(bgrewriteaof r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>bgrewriteaof</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/bgrewriteaof">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#bgsave">
<h3 id="bgsave">
bgsave
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(bgsave r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>bgsave</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/bgsave">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#bitcount">
<h3 id="bitcount">
bitcount
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(bitcount r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>bitcount</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/bitcount">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#bitfield">
<h3 id="bitfield">
bitfield
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(bitfield r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>bitfield</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/bitfield">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#bitop">
<h3 id="bitop">
bitop
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(bitop r operation destkey key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>bitop</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/bitop">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#bitpos">
<h3 id="bitpos">
bitpos
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(bitpos r key bit)
</pre>
<p class="doc">
<p>is a wrapper around the <code>bitpos</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/bitpos">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#blpop">
<h3 id="blpop">
blpop
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(blpop r key timeout)
</pre>
<p class="doc">
<p>is a wrapper around the <code>blpop</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/blpop">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#brpop">
<h3 id="brpop">
brpop
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(brpop r key timeout)
</pre>
<p class="doc">
<p>is a wrapper around the <code>brpop</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/brpop">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#brpoplpush">
<h3 id="brpoplpush">
brpoplpush
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(brpoplpush r source destination timeout)
</pre>
<p class="doc">
<p>is a wrapper around the <code>brpoplpush</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/brpoplpush">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#bzpopmax">
<h3 id="bzpopmax">
bzpopmax
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(bzpopmax r key timeout)
</pre>
<p class="doc">
<p>is a wrapper around the <code>bzpopmax</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/bzpopmax">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#bzpopmin">
<h3 id="bzpopmin">
bzpopmin
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(bzpopmin r key timeout)
</pre>
<p class="doc">
<p>is a wrapper around the <code>bzpopmin</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/bzpopmin">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#client-getname">
<h3 id="client-getname">
client-getname
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(client-getname r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>client getname</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/client-getname">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#client-id">
<h3 id="client-id">
client-id
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(client-id r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>client id</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/client-id">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#client-kill">
<h3 id="client-kill">
client-kill
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(client-kill r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>client kill</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/client-kill">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#client-list">
<h3 id="client-list">
client-list
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(client-list r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>client list</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/client-list">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#client-pause">
<h3 id="client-pause">
client-pause
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(client-pause r timeout)
</pre>
<p class="doc">
<p>is a wrapper around the <code>client pause</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/client-pause">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#client-reply">
<h3 id="client-reply">
client-reply
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(client-reply r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>client reply</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/client-reply">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#client-setname">
<h3 id="client-setname">
client-setname
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(client-setname r connection-name)
</pre>
<p class="doc">
<p>is a wrapper around the <code>client setname</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/client-setname">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#client-unblock">
<h3 id="client-unblock">
client-unblock
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(client-unblock r client-id)
</pre>
<p class="doc">
<p>is a wrapper around the <code>client unblock</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/client-unblock">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#close">
<h3 id="close">
close
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [Redis] ())
</p>
<pre class="args">
(close r)
</pre>
<p class="doc">
<p>closes the connection to Redis.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#cluster-addslots">
<h3 id="cluster-addslots">
cluster-addslots
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(cluster-addslots r slot)
</pre>
<p class="doc">
<p>is a wrapper around the <code>cluster addslots</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/cluster-addslots">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#cluster-bumpepoch">
<h3 id="cluster-bumpepoch">
cluster-bumpepoch
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(cluster-bumpepoch r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>cluster bumpepoch</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/cluster-bumpepoch">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#cluster-count-failure-reports">
<h3 id="cluster-count-failure-reports">
cluster-count-failure-reports
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(cluster-count-failure-reports r node-id)
</pre>
<p class="doc">
<p>is a wrapper around the <code>cluster count failure reports</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/cluster-count-failure-reports">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#cluster-countkeysinslot">
<h3 id="cluster-countkeysinslot">
cluster-countkeysinslot
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(cluster-countkeysinslot r slot)
</pre>
<p class="doc">
<p>is a wrapper around the <code>cluster countkeysinslot</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/cluster-countkeysinslot">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#cluster-delslots">
<h3 id="cluster-delslots">
cluster-delslots
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(cluster-delslots r slot)
</pre>
<p class="doc">
<p>is a wrapper around the <code>cluster delslots</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/cluster-delslots">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#cluster-failover">
<h3 id="cluster-failover">
cluster-failover
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(cluster-failover r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>cluster failover</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/cluster-failover">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#cluster-flushslots">
<h3 id="cluster-flushslots">
cluster-flushslots
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(cluster-flushslots r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>cluster flushslots</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/cluster-flushslots">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#cluster-forget">
<h3 id="cluster-forget">
cluster-forget
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(cluster-forget r node-id)
</pre>
<p class="doc">
<p>is a wrapper around the <code>cluster forget</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/cluster-forget">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#cluster-getkeysinslot">
<h3 id="cluster-getkeysinslot">
cluster-getkeysinslot
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(cluster-getkeysinslot r slot count)
</pre>
<p class="doc">
<p>is a wrapper around the <code>cluster getkeysinslot</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/cluster-getkeysinslot">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#cluster-info">
<h3 id="cluster-info">
cluster-info
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(cluster-info r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>cluster info</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/cluster-info">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#cluster-keyslot">
<h3 id="cluster-keyslot">
cluster-keyslot
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(cluster-keyslot r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>cluster keyslot</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/cluster-keyslot">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#cluster-meet">
<h3 id="cluster-meet">
cluster-meet
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(cluster-meet r ip port)
</pre>
<p class="doc">
<p>is a wrapper around the <code>cluster meet</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/cluster-meet">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#cluster-myid">
<h3 id="cluster-myid">
cluster-myid
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(cluster-myid r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>cluster myid</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/cluster-myid">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#cluster-nodes">
<h3 id="cluster-nodes">
cluster-nodes
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(cluster-nodes r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>cluster nodes</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/cluster-nodes">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#cluster-replicas">
<h3 id="cluster-replicas">
cluster-replicas
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(cluster-replicas r node-id)
</pre>
<p class="doc">
<p>is a wrapper around the <code>cluster replicas</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/cluster-replicas">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#cluster-replicate">
<h3 id="cluster-replicate">
cluster-replicate
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(cluster-replicate r node-id)
</pre>
<p class="doc">
<p>is a wrapper around the <code>cluster replicate</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/cluster-replicate">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#cluster-reset">
<h3 id="cluster-reset">
cluster-reset
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(cluster-reset r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>cluster reset</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/cluster-reset">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#cluster-saveconfig">
<h3 id="cluster-saveconfig">
cluster-saveconfig
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(cluster-saveconfig r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>cluster saveconfig</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/cluster-saveconfig">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#cluster-set-config-epoch">
<h3 id="cluster-set-config-epoch">
cluster-set-config-epoch
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(cluster-set-config-epoch r config-epoch)
</pre>
<p class="doc">
<p>is a wrapper around the <code>cluster set config epoch</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/cluster-set-config-epoch">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#cluster-setslot">
<h3 id="cluster-setslot">
cluster-setslot
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(cluster-setslot r slot)
</pre>
<p class="doc">
<p>is a wrapper around the <code>cluster setslot</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/cluster-setslot">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#cluster-slaves">
<h3 id="cluster-slaves">
cluster-slaves
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(cluster-slaves r node-id)
</pre>
<p class="doc">
<p>is a wrapper around the <code>cluster slaves</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/cluster-slaves">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#cluster-slots">
<h3 id="cluster-slots">
cluster-slots
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(cluster-slots r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>cluster slots</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/cluster-slots">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#command">
<h3 id="command">
command
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(command r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>command</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/command">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#command-count">
<h3 id="command-count">
command-count
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(command-count r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>command count</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/command-count">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#command-getkeys">
<h3 id="command-getkeys">
command-getkeys
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(command-getkeys r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>command getkeys</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/command-getkeys">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#command-info">
<h3 id="command-info">
command-info
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(command-info r command-name)
</pre>
<p class="doc">
<p>is a wrapper around the <code>command info</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/command-info">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#config-get">
<h3 id="config-get">
config-get
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(config-get r parameter)
</pre>
<p class="doc">
<p>is a wrapper around the <code>config get</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/config-get">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#config-resetstat">
<h3 id="config-resetstat">
config-resetstat
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(config-resetstat r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>config resetstat</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/config-resetstat">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#config-rewrite">
<h3 id="config-rewrite">
config-rewrite
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(config-rewrite r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>config rewrite</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/config-rewrite">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#config-set">
<h3 id="config-set">
config-set
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(config-set r parameter value)
</pre>
<p class="doc">
<p>is a wrapper around the <code>config set</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/config-set">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#copy">
<h3 id="copy">
copy
</h3>
</a>
<div class="description">
instantiate
</div>
<p class="sig">
(λ [(Ref Redis a)] Redis)
</p>
<span>
</span>
<p class="doc">
<p>copies a <code>Redis</code>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#dbsize">
<h3 id="dbsize">
dbsize
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(dbsize r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>dbsize</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/dbsize">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#debug-object">
<h3 id="debug-object">
debug-object
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(debug-object r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>debug object</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/debug-object">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#debug-segfault">
<h3 id="debug-segfault">
debug-segfault
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(debug-segfault r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>debug segfault</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/debug-segfault">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#decr">
<h3 id="decr">
decr
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(decr r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>decr</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/decr">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#decrby">
<h3 id="decrby">
decrby
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(decrby r key decrement)
</pre>
<p class="doc">
<p>is a wrapper around the <code>decrby</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/decrby">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#del">
<h3 id="del">
del
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(del r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>del</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/del">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#discard">
<h3 id="discard">
discard
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(discard r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>discard</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/discard">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#dump">
<h3 id="dump">
dump
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(dump r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>dump</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/dump">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#echo">
<h3 id="echo">
echo
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(echo r message)
</pre>
<p class="doc">
<p>is a wrapper around the <code>echo</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/echo">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#eval">
<h3 id="eval">
eval
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(eval r script numkeys key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>eval</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/eval">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#evalsha">
<h3 id="evalsha">
evalsha
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(evalsha r sha1 numkeys key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>evalsha</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/evalsha">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#exec">
<h3 id="exec">
exec
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(exec r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>exec</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/exec">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#exists">
<h3 id="exists">
exists
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(exists r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>exists</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/exists">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#expire">
<h3 id="expire">
expire
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(expire r key seconds)
</pre>
<p class="doc">
<p>is a wrapper around the <code>expire</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/expire">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#expireat">
<h3 id="expireat">
expireat
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(expireat r key timestamp)
</pre>
<p class="doc">
<p>is a wrapper around the <code>expireat</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/expireat">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#flushall">
<h3 id="flushall">
flushall
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(flushall r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>flushall</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/flushall">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#flushdb">
<h3 id="flushdb">
flushdb
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(flushdb r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>flushdb</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/flushdb">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#geoadd">
<h3 id="geoadd">
geoadd
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d, e] (Result RESP String))
</p>
<pre class="args">
(geoadd r key longitude latitude member)
</pre>
<p class="doc">
<p>is a wrapper around the <code>geoadd</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/geoadd">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#geodist">
<h3 id="geodist">
geodist
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(geodist r key member1 member2)
</pre>
<p class="doc">
<p>is a wrapper around the <code>geodist</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/geodist">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#geohash">
<h3 id="geohash">
geohash
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(geohash r key member)
</pre>
<p class="doc">
<p>is a wrapper around the <code>geohash</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/geohash">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#geopos">
<h3 id="geopos">
geopos
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(geopos r key member)
</pre>
<p class="doc">
<p>is a wrapper around the <code>geopos</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/geopos">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#georadius">
<h3 id="georadius">
georadius
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d, e] (Result RESP String))
</p>
<pre class="args">
(georadius r key longitude latitude radius)
</pre>
<p class="doc">
<p>is a wrapper around the <code>georadius</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/georadius">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#georadiusbymember">
<h3 id="georadiusbymember">
georadiusbymember
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(georadiusbymember r key member radius)
</pre>
<p class="doc">
<p>is a wrapper around the <code>georadiusbymember</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/georadiusbymember">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#get">
<h3 id="get">
get
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(get r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>get</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/get">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#getbit">
<h3 id="getbit">
getbit
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(getbit r key offset)
</pre>
<p class="doc">
<p>is a wrapper around the <code>getbit</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/getbit">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#getrange">
<h3 id="getrange">
getrange
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(getrange r key start end)
</pre>
<p class="doc">
<p>is a wrapper around the <code>getrange</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/getrange">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#getset">
<h3 id="getset">
getset
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(getset r key value)
</pre>
<p class="doc">
<p>is a wrapper around the <code>getset</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/getset">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#hdel">
<h3 id="hdel">
hdel
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(hdel r key field)
</pre>
<p class="doc">
<p>is a wrapper around the <code>hdel</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/hdel">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#hexists">
<h3 id="hexists">
hexists
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(hexists r key field)
</pre>
<p class="doc">
<p>is a wrapper around the <code>hexists</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/hexists">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#hget">
<h3 id="hget">
hget
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(hget r key field)
</pre>
<p class="doc">
<p>is a wrapper around the <code>hget</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/hget">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#hgetall">
<h3 id="hgetall">
hgetall
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(hgetall r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>hgetall</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/hgetall">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#hincrby">
<h3 id="hincrby">
hincrby
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(hincrby r key field increment)
</pre>
<p class="doc">
<p>is a wrapper around the <code>hincrby</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/hincrby">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#hincrbyfloat">
<h3 id="hincrbyfloat">
hincrbyfloat
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(hincrbyfloat r key field increment)
</pre>
<p class="doc">
<p>is a wrapper around the <code>hincrbyfloat</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/hincrbyfloat">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#hkeys">
<h3 id="hkeys">
hkeys
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(hkeys r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>hkeys</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/hkeys">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#hlen">
<h3 id="hlen">
hlen
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(hlen r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>hlen</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/hlen">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#hmget">
<h3 id="hmget">
hmget
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(hmget r key field)
</pre>
<p class="doc">
<p>is a wrapper around the <code>hmget</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/hmget">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#hmset">
<h3 id="hmset">
hmset
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(hmset r key field value)
</pre>
<p class="doc">
<p>is a wrapper around the <code>hmset</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/hmset">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#hscan">
<h3 id="hscan">
hscan
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(hscan r key cursor)
</pre>
<p class="doc">
<p>is a wrapper around the <code>hscan</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/hscan">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#hset">
<h3 id="hset">
hset
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(hset r key field value)
</pre>
<p class="doc">
<p>is a wrapper around the <code>hset</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/hset">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#hsetnx">
<h3 id="hsetnx">
hsetnx
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(hsetnx r key field value)
</pre>
<p class="doc">
<p>is a wrapper around the <code>hsetnx</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/hsetnx">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#hstrlen">
<h3 id="hstrlen">
hstrlen
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(hstrlen r key field)
</pre>
<p class="doc">
<p>is a wrapper around the <code>hstrlen</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/hstrlen">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#hvals">
<h3 id="hvals">
hvals
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(hvals r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>hvals</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/hvals">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#incr">
<h3 id="incr">
incr
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(incr r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>incr</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/incr">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#incrby">
<h3 id="incrby">
incrby
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(incrby r key increment)
</pre>
<p class="doc">
<p>is a wrapper around the <code>incrby</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/incrby">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#incrbyfloat">
<h3 id="incrbyfloat">
incrbyfloat
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(incrbyfloat r key increment)
</pre>
<p class="doc">
<p>is a wrapper around the <code>incrbyfloat</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/incrbyfloat">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#info">
<h3 id="info">
info
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(info r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>info</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/info">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#init">
<h3 id="init">
init
</h3>
</a>
<div class="description">
instantiate
</div>
<p class="sig">
(λ [Socket] Redis)
</p>
<span>
</span>
<p class="doc">
<p>creates a <code>Redis</code>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#keys">
<h3 id="keys">
keys
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(keys r pattern)
</pre>
<p class="doc">
<p>is a wrapper around the <code>keys</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/keys">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#lastsave">
<h3 id="lastsave">
lastsave
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(lastsave r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>lastsave</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/lastsave">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#latency-doctor">
<h3 id="latency-doctor">
latency-doctor
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(latency-doctor r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>latency doctor</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/latency-doctor">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#latency-graph">
<h3 id="latency-graph">
latency-graph
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(latency-graph r event)
</pre>
<p class="doc">
<p>is a wrapper around the <code>latency graph</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/latency-graph">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#latency-help">
<h3 id="latency-help">
latency-help
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(latency-help r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>latency help</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/latency-help">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#latency-history">
<h3 id="latency-history">
latency-history
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(latency-history r event)
</pre>
<p class="doc">
<p>is a wrapper around the <code>latency history</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/latency-history">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#latency-latest">
<h3 id="latency-latest">
latency-latest
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(latency-latest r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>latency latest</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/latency-latest">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#latency-reset">
<h3 id="latency-reset">
latency-reset
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(latency-reset r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>latency reset</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/latency-reset">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#lindex">
<h3 id="lindex">
lindex
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(lindex r key index)
</pre>
<p class="doc">
<p>is a wrapper around the <code>lindex</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/lindex">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#linsert">
<h3 id="linsert">
linsert
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d, e] (Result RESP String))
</p>
<pre class="args">
(linsert r key w pivot element)
</pre>
<p class="doc">
<p>is a wrapper around the <code>linsert</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/linsert">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#llen">
<h3 id="llen">
llen
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(llen r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>llen</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/llen">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#lolwut">
<h3 id="lolwut">
lolwut
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(lolwut r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>lolwut</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/lolwut">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#lpop">
<h3 id="lpop">
lpop
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(lpop r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>lpop</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/lpop">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#lpush">
<h3 id="lpush">
lpush
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(lpush r key element)
</pre>
<p class="doc">
<p>is a wrapper around the <code>lpush</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/lpush">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#lpushx">
<h3 id="lpushx">
lpushx
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(lpushx r key element)
</pre>
<p class="doc">
<p>is a wrapper around the <code>lpushx</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/lpushx">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#lrange">
<h3 id="lrange">
lrange
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(lrange r key start stop)
</pre>
<p class="doc">
<p>is a wrapper around the <code>lrange</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/lrange">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#lrem">
<h3 id="lrem">
lrem
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(lrem r key count element)
</pre>
<p class="doc">
<p>is a wrapper around the <code>lrem</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/lrem">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#lset">
<h3 id="lset">
lset
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(lset r key index element)
</pre>
<p class="doc">
<p>is a wrapper around the <code>lset</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/lset">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#ltrim">
<h3 id="ltrim">
ltrim
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(ltrim r key start stop)
</pre>
<p class="doc">
<p>is a wrapper around the <code>ltrim</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/ltrim">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#memory-doctor">
<h3 id="memory-doctor">
memory-doctor
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(memory-doctor r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>memory doctor</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/memory-doctor">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#memory-help">
<h3 id="memory-help">
memory-help
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(memory-help r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>memory help</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/memory-help">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#memory-malloc-stats">
<h3 id="memory-malloc-stats">
memory-malloc-stats
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(memory-malloc-stats r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>memory malloc stats</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/memory-malloc-stats">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#memory-purge">
<h3 id="memory-purge">
memory-purge
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(memory-purge r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>memory purge</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/memory-purge">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#memory-stats">
<h3 id="memory-stats">
memory-stats
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(memory-stats r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>memory stats</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/memory-stats">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#memory-usage">
<h3 id="memory-usage">
memory-usage
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(memory-usage r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>memory usage</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/memory-usage">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#mget">
<h3 id="mget">
mget
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(mget r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>mget</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/mget">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#migrate">
<h3 id="migrate">
migrate
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d, e, f] (Result RESP String))
</p>
<pre class="args">
(migrate r host port key destination-db timeout)
</pre>
<p class="doc">
<p>is a wrapper around the <code>migrate</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/migrate">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#module-list">
<h3 id="module-list">
module-list
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(module-list r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>module list</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/module-list">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#module-load">
<h3 id="module-load">
module-load
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(module-load r path)
</pre>
<p class="doc">
<p>is a wrapper around the <code>module load</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/module-load">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#module-unload">
<h3 id="module-unload">
module-unload
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(module-unload r name)
</pre>
<p class="doc">
<p>is a wrapper around the <code>module unload</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/module-unload">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#monitor">
<h3 id="monitor">
monitor
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(monitor r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>monitor</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/monitor">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#move">
<h3 id="move">
move
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(move r key db)
</pre>
<p class="doc">
<p>is a wrapper around the <code>move</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/move">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#mset">
<h3 id="mset">
mset
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(mset r key value)
</pre>
<p class="doc">
<p>is a wrapper around the <code>mset</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/mset">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#msetnx">
<h3 id="msetnx">
msetnx
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(msetnx r key value)
</pre>
<p class="doc">
<p>is a wrapper around the <code>msetnx</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/msetnx">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#multi">
<h3 id="multi">
multi
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(multi r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>multi</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/multi">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#object">
<h3 id="object">
object
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(object r subcommand)
</pre>
<p class="doc">
<p>is a wrapper around the <code>object</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/object">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#open">
<h3 id="open">
open
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref String a)] (Result Redis String))
</p>
<pre class="args">
(open host)
</pre>
<p class="doc">
<p>opens the connection to Redis on port 6379.</p>
<p>For variable port numbers please check out <a href="#open-on"><code>open-on</code></a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#open-on">
<h3 id="open-on">
open-on
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref String a), Int] (Result Redis String))
</p>
<pre class="args">
(open-on host port)
</pre>
<p class="doc">
<p>opens the connection to Redis on port <code>port</code>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#persist">
<h3 id="persist">
persist
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(persist r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>persist</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/persist">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#pexpire">
<h3 id="pexpire">
pexpire
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(pexpire r key milliseconds)
</pre>
<p class="doc">
<p>is a wrapper around the <code>pexpire</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/pexpire">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#pexpireat">
<h3 id="pexpireat">
pexpireat
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(pexpireat r key milliseconds-timestamp)
</pre>
<p class="doc">
<p>is a wrapper around the <code>pexpireat</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/pexpireat">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#pfadd">
<h3 id="pfadd">
pfadd
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(pfadd r key element)
</pre>
<p class="doc">
<p>is a wrapper around the <code>pfadd</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/pfadd">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#pfcount">
<h3 id="pfcount">
pfcount
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(pfcount r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>pfcount</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/pfcount">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#pfmerge">
<h3 id="pfmerge">
pfmerge
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(pfmerge r destkey sourcekey)
</pre>
<p class="doc">
<p>is a wrapper around the <code>pfmerge</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/pfmerge">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#ping">
<h3 id="ping">
ping
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(ping r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>ping</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/ping">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#prn">
<h3 id="prn">
prn
</h3>
</a>
<div class="description">
instantiate
</div>
<p class="sig">
(λ [(Ref Redis a)] String)
</p>
<span>
</span>
<p class="doc">
<p>converts a <code>Redis</code> to a string.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#psetex">
<h3 id="psetex">
psetex
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(psetex r key milliseconds value)
</pre>
<p class="doc">
<p>is a wrapper around the <code>psetex</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/psetex">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#psubscribe">
<h3 id="psubscribe">
psubscribe
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(psubscribe r pattern)
</pre>
<p class="doc">
<p>is a wrapper around the <code>psubscribe</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/psubscribe">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#psync">
<h3 id="psync">
psync
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(psync r replicationid offset)
</pre>
<p class="doc">
<p>is a wrapper around the <code>psync</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/psync">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#pttl">
<h3 id="pttl">
pttl
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(pttl r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>pttl</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/pttl">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#publish">
<h3 id="publish">
publish
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(publish r channel message)
</pre>
<p class="doc">
<p>is a wrapper around the <code>publish</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/publish">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#pubsub">
<h3 id="pubsub">
pubsub
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(pubsub r subcommand)
</pre>
<p class="doc">
<p>is a wrapper around the <code>pubsub</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/pubsub">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#punsubscribe">
<h3 id="punsubscribe">
punsubscribe
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(punsubscribe r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>punsubscribe</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/punsubscribe">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#quit">
<h3 id="quit">
quit
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(quit r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>quit</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/quit">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#randomkey">
<h3 id="randomkey">
randomkey
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(randomkey r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>randomkey</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/randomkey">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#read">
<h3 id="read">
read
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(read r)
</pre>
<p class="doc">
<p>reads a <code>RESP</code> object from Redis.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#readonly">
<h3 id="readonly">
readonly
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(readonly r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>readonly</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/readonly">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#readwrite">
<h3 id="readwrite">
readwrite
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(readwrite r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>readwrite</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/readwrite">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#rename">
<h3 id="rename">
rename
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(rename r key newkey)
</pre>
<p class="doc">
<p>is a wrapper around the <code>rename</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/rename">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#renamenx">
<h3 id="renamenx">
renamenx
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(renamenx r key newkey)
</pre>
<p class="doc">
<p>is a wrapper around the <code>renamenx</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/renamenx">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#replicaof">
<h3 id="replicaof">
replicaof
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(replicaof r host port)
</pre>
<p class="doc">
<p>is a wrapper around the <code>replicaof</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/replicaof">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#restore">
<h3 id="restore">
restore
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(restore r key ttl serialized-value)
</pre>
<p class="doc">
<p>is a wrapper around the <code>restore</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/restore">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#role">
<h3 id="role">
role
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(role r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>role</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/role">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#rpop">
<h3 id="rpop">
rpop
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(rpop r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>rpop</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/rpop">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#rpoplpush">
<h3 id="rpoplpush">
rpoplpush
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(rpoplpush r source destination)
</pre>
<p class="doc">
<p>is a wrapper around the <code>rpoplpush</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/rpoplpush">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#rpush">
<h3 id="rpush">
rpush
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(rpush r key element)
</pre>
<p class="doc">
<p>is a wrapper around the <code>rpush</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/rpush">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#rpushx">
<h3 id="rpushx">
rpushx
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(rpushx r key element)
</pre>
<p class="doc">
<p>is a wrapper around the <code>rpushx</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/rpushx">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#sadd">
<h3 id="sadd">
sadd
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(sadd r key member)
</pre>
<p class="doc">
<p>is a wrapper around the <code>sadd</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/sadd">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#save">
<h3 id="save">
save
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(save r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>save</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/save">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#scan">
<h3 id="scan">
scan
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(scan r cursor)
</pre>
<p class="doc">
<p>is a wrapper around the <code>scan</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/scan">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#scard">
<h3 id="scard">
scard
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(scard r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>scard</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/scard">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#script-debug">
<h3 id="script-debug">
script-debug
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(script-debug r mode)
</pre>
<p class="doc">
<p>is a wrapper around the <code>script debug</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/script-debug">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#script-exists">
<h3 id="script-exists">
script-exists
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(script-exists r sha1)
</pre>
<p class="doc">
<p>is a wrapper around the <code>script exists</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/script-exists">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#script-flush">
<h3 id="script-flush">
script-flush
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(script-flush r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>script flush</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/script-flush">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#script-kill">
<h3 id="script-kill">
script-kill
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(script-kill r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>script kill</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/script-kill">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#script-load">
<h3 id="script-load">
script-load
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(script-load r script)
</pre>
<p class="doc">
<p>is a wrapper around the <code>script load</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/script-load">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#sdiff">
<h3 id="sdiff">
sdiff
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(sdiff r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>sdiff</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/sdiff">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#sdiffstore">
<h3 id="sdiffstore">
sdiffstore
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(sdiffstore r destination key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>sdiffstore</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/sdiffstore">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#select">
<h3 id="select">
select
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(select r index)
</pre>
<p class="doc">
<p>is a wrapper around the <code>select</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/select">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#send">
<h3 id="send">
send
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, (Ref (Array RESP) c)] ())
</p>
<pre class="args">
(send r cmd args)
</pre>
<p class="doc">
<p>sends the command <code>cmd</code> with the arguments <code>args</code> to Redis.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#set">
<h3 id="set">
set
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(set r key value)
</pre>
<p class="doc">
<p>is a wrapper around the <code>set</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/set">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#set-sock">
<h3 id="set-sock">
set-sock
</h3>
</a>
<div class="description">
instantiate
</div>
<p class="sig">
(λ [Redis, Socket] Redis)
</p>
<span>
</span>
<p class="doc">
<p>sets the <code>sock</code> property of a <code>Redis</code>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#set-sock!">
<h3 id="set-sock!">
set-sock!
</h3>
</a>
<div class="description">
instantiate
</div>
<p class="sig">
(λ [(Ref Redis a), Socket] ())
</p>
<span>
</span>
<p class="doc">
<p>sets the <code>sock</code> property of a <code>Redis</code> in place.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#setbit">
<h3 id="setbit">
setbit
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(setbit r key offset value)
</pre>
<p class="doc">
<p>is a wrapper around the <code>setbit</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/setbit">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#setex">
<h3 id="setex">
setex
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(setex r key seconds value)
</pre>
<p class="doc">
<p>is a wrapper around the <code>setex</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/setex">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#setnx">
<h3 id="setnx">
setnx
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(setnx r key value)
</pre>
<p class="doc">
<p>is a wrapper around the <code>setnx</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/setnx">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#setrange">
<h3 id="setrange">
setrange
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(setrange r key offset value)
</pre>
<p class="doc">
<p>is a wrapper around the <code>setrange</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/setrange">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#shutdown">
<h3 id="shutdown">
shutdown
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(shutdown r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>shutdown</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/shutdown">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#sinter">
<h3 id="sinter">
sinter
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(sinter r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>sinter</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/sinter">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#sinterstore">
<h3 id="sinterstore">
sinterstore
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(sinterstore r destination key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>sinterstore</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/sinterstore">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#sismember">
<h3 id="sismember">
sismember
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(sismember r key member)
</pre>
<p class="doc">
<p>is a wrapper around the <code>sismember</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/sismember">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#slaveof">
<h3 id="slaveof">
slaveof
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(slaveof r host port)
</pre>
<p class="doc">
<p>is a wrapper around the <code>slaveof</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/slaveof">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#slowlog">
<h3 id="slowlog">
slowlog
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(slowlog r subcommand)
</pre>
<p class="doc">
<p>is a wrapper around the <code>slowlog</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/slowlog">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#smembers">
<h3 id="smembers">
smembers
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(smembers r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>smembers</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/smembers">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#smove">
<h3 id="smove">
smove
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(smove r source destination member)
</pre>
<p class="doc">
<p>is a wrapper around the <code>smove</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/smove">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#sock">
<h3 id="sock">
sock
</h3>
</a>
<div class="description">
instantiate
</div>
<p class="sig">
(λ [(Ref Redis a)] (Ref Socket a))
</p>
<span>
</span>
<p class="doc">
<p>gets the <code>sock</code> property of a <code>Redis</code>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#sort">
<h3 id="sort">
sort
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(sort r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>sort</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/sort">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#spop">
<h3 id="spop">
spop
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(spop r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>spop</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/spop">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#srandmember">
<h3 id="srandmember">
srandmember
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(srandmember r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>srandmember</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/srandmember">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#srem">
<h3 id="srem">
srem
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(srem r key member)
</pre>
<p class="doc">
<p>is a wrapper around the <code>srem</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/srem">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#sscan">
<h3 id="sscan">
sscan
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(sscan r key cursor)
</pre>
<p class="doc">
<p>is a wrapper around the <code>sscan</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/sscan">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#str">
<h3 id="str">
str
</h3>
</a>
<div class="description">
instantiate
</div>
<p class="sig">
(λ [(Ref Redis a)] String)
</p>
<span>
</span>
<p class="doc">
<p>converts a <code>Redis</code> to a string.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#strlen">
<h3 id="strlen">
strlen
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(strlen r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>strlen</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/strlen">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#subscribe">
<h3 id="subscribe">
subscribe
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(subscribe r channel)
</pre>
<p class="doc">
<p>is a wrapper around the <code>subscribe</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/subscribe">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#sunion">
<h3 id="sunion">
sunion
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(sunion r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>sunion</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/sunion">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#sunionstore">
<h3 id="sunionstore">
sunionstore
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(sunionstore r destination key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>sunionstore</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/sunionstore">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#swapdb">
<h3 id="swapdb">
swapdb
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(swapdb r index1 index2)
</pre>
<p class="doc">
<p>is a wrapper around the <code>swapdb</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/swapdb">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#sync">
<h3 id="sync">
sync
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(sync r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>sync</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/sync">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#time">
<h3 id="time">
time
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(time r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>time</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/time">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#touch">
<h3 id="touch">
touch
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(touch r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>touch</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/touch">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#ttl">
<h3 id="ttl">
ttl
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(ttl r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>ttl</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/ttl">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#type">
<h3 id="type">
type
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(type r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>type</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/type">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#unlink">
<h3 id="unlink">
unlink
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(unlink r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>unlink</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/unlink">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#unsubscribe">
<h3 id="unsubscribe">
unsubscribe
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(unsubscribe r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>unsubscribe</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/unsubscribe">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#unwatch">
<h3 id="unwatch">
unwatch
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(unwatch r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>unwatch</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/unwatch">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#update-sock">
<h3 id="update-sock">
update-sock
</h3>
</a>
<div class="description">
instantiate
</div>
<p class="sig">
(λ [Redis, (Ref (λ [Socket] Socket a) b)] Redis)
</p>
<span>
</span>
<p class="doc">
<p>updates the <code>sock</code> property of a <code>Redis</code> using a function <code>f</code>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#wait">
<h3 id="wait">
wait
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(wait r numreplicas timeout)
</pre>
<p class="doc">
<p>is a wrapper around the <code>wait</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/wait">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#watch">
<h3 id="watch">
watch
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(watch r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>watch</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/watch">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#xack">
<h3 id="xack">
xack
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(xack r key group ID)
</pre>
<p class="doc">
<p>is a wrapper around the <code>xack</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/xack">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#xadd">
<h3 id="xadd">
xadd
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d, e] (Result RESP String))
</p>
<pre class="args">
(xadd r key ID field value)
</pre>
<p class="doc">
<p>is a wrapper around the <code>xadd</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/xadd">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#xclaim">
<h3 id="xclaim">
xclaim
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d, e, f] (Result RESP String))
</p>
<pre class="args">
(xclaim r key group consumer min-idle-time ID)
</pre>
<p class="doc">
<p>is a wrapper around the <code>xclaim</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/xclaim">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#xdel">
<h3 id="xdel">
xdel
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(xdel r key ID)
</pre>
<p class="doc">
<p>is a wrapper around the <code>xdel</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/xdel">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#xgroup">
<h3 id="xgroup">
xgroup
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(xgroup r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>xgroup</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/xgroup">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#xinfo">
<h3 id="xinfo">
xinfo
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(xinfo r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>xinfo</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/xinfo">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#xlen">
<h3 id="xlen">
xlen
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(xlen r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>xlen</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/xlen">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#xpending">
<h3 id="xpending">
xpending
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(xpending r key group)
</pre>
<p class="doc">
<p>is a wrapper around the <code>xpending</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/xpending">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#xrange">
<h3 id="xrange">
xrange
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(xrange r key start end)
</pre>
<p class="doc">
<p>is a wrapper around the <code>xrange</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/xrange">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#xread">
<h3 id="xread">
xread
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a)] (Result RESP String))
</p>
<pre class="args">
(xread r)
</pre>
<p class="doc">
<p>is a wrapper around the <code>xread</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/xread">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#xreadgroup">
<h3 id="xreadgroup">
xreadgroup
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(xreadgroup r GROUP group consumer)
</pre>
<p class="doc">
<p>is a wrapper around the <code>xreadgroup</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/xreadgroup">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#xrevrange">
<h3 id="xrevrange">
xrevrange
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(xrevrange r key end start)
</pre>
<p class="doc">
<p>is a wrapper around the <code>xrevrange</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/xrevrange">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#xtrim">
<h3 id="xtrim">
xtrim
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(xtrim r key MAXLEN count)
</pre>
<p class="doc">
<p>is a wrapper around the <code>xtrim</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/xtrim">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#zadd">
<h3 id="zadd">
zadd
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(zadd r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>zadd</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/zadd">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#zcard">
<h3 id="zcard">
zcard
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(zcard r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>zcard</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/zcard">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#zcount">
<h3 id="zcount">
zcount
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(zcount r key min max)
</pre>
<p class="doc">
<p>is a wrapper around the <code>zcount</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/zcount">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#zincrby">
<h3 id="zincrby">
zincrby
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(zincrby r key increment member)
</pre>
<p class="doc">
<p>is a wrapper around the <code>zincrby</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/zincrby">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#zinterstore">
<h3 id="zinterstore">
zinterstore
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(zinterstore r destination numkeys key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>zinterstore</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/zinterstore">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#zlexcount">
<h3 id="zlexcount">
zlexcount
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(zlexcount r key min max)
</pre>
<p class="doc">
<p>is a wrapper around the <code>zlexcount</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/zlexcount">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#zpopmax">
<h3 id="zpopmax">
zpopmax
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(zpopmax r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>zpopmax</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/zpopmax">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#zpopmin">
<h3 id="zpopmin">
zpopmin
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b] (Result RESP String))
</p>
<pre class="args">
(zpopmin r key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>zpopmin</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/zpopmin">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#zrange">
<h3 id="zrange">
zrange
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(zrange r key start stop)
</pre>
<p class="doc">
<p>is a wrapper around the <code>zrange</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/zrange">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#zrangebylex">
<h3 id="zrangebylex">
zrangebylex
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(zrangebylex r key min max)
</pre>
<p class="doc">
<p>is a wrapper around the <code>zrangebylex</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/zrangebylex">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#zrangebyscore">
<h3 id="zrangebyscore">
zrangebyscore
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(zrangebyscore r key min max)
</pre>
<p class="doc">
<p>is a wrapper around the <code>zrangebyscore</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/zrangebyscore">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#zrank">
<h3 id="zrank">
zrank
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(zrank r key member)
</pre>
<p class="doc">
<p>is a wrapper around the <code>zrank</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/zrank">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#zrem">
<h3 id="zrem">
zrem
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(zrem r key member)
</pre>
<p class="doc">
<p>is a wrapper around the <code>zrem</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/zrem">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#zremrangebylex">
<h3 id="zremrangebylex">
zremrangebylex
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(zremrangebylex r key min max)
</pre>
<p class="doc">
<p>is a wrapper around the <code>zremrangebylex</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/zremrangebylex">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#zremrangebyrank">
<h3 id="zremrangebyrank">
zremrangebyrank
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(zremrangebyrank r key start stop)
</pre>
<p class="doc">
<p>is a wrapper around the <code>zremrangebyrank</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/zremrangebyrank">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#zremrangebyscore">
<h3 id="zremrangebyscore">
zremrangebyscore
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(zremrangebyscore r key min max)
</pre>
<p class="doc">
<p>is a wrapper around the <code>zremrangebyscore</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/zremrangebyscore">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#zrevrange">
<h3 id="zrevrange">
zrevrange
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(zrevrange r key start stop)
</pre>
<p class="doc">
<p>is a wrapper around the <code>zrevrange</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/zrevrange">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#zrevrangebylex">
<h3 id="zrevrangebylex">
zrevrangebylex
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(zrevrangebylex r key max min)
</pre>
<p class="doc">
<p>is a wrapper around the <code>zrevrangebylex</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/zrevrangebylex">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#zrevrangebyscore">
<h3 id="zrevrangebyscore">
zrevrangebyscore
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(zrevrangebyscore r key max min)
</pre>
<p class="doc">
<p>is a wrapper around the <code>zrevrangebyscore</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/zrevrangebyscore">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#zrevrank">
<h3 id="zrevrank">
zrevrank
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(zrevrank r key member)
</pre>
<p class="doc">
<p>is a wrapper around the <code>zrevrank</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/zrevrank">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#zscan">
<h3 id="zscan">
zscan
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(zscan r key cursor)
</pre>
<p class="doc">
<p>is a wrapper around the <code>zscan</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/zscan">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#zscore">
<h3 id="zscore">
zscore
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c] (Result RESP String))
</p>
<pre class="args">
(zscore r key member)
</pre>
<p class="doc">
<p>is a wrapper around the <code>zscore</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/zscore">Redis command</a>.</p>
</p>
</div>
<div class="binder">
<a class="anchor" href="#zunionstore">
<h3 id="zunionstore">
zunionstore
</h3>
</a>
<div class="description">
defn
</div>
<p class="sig">
(λ [(Ref Redis a), b, c, d] (Result RESP String))
</p>
<pre class="args">
(zunionstore r destination numkeys key)
</pre>
<p class="doc">
<p>is a wrapper around the <code>zunionstore</code> Redis command.</p>
<p>It takes the same arguments as the <a href="https://redis.io/commands/zunionstore">Redis command</a>.</p>
</p>
</div>
</div>
</body>
</html>