rediscl v0.2.11 Rediscl.Query.Api View Source

Query api funcs

Link to this section Summary

Functions

Creates the zadd :eredis query list, based on the given arguments

Creates the zcard :eredis query list, based on the given arguments

Creates the zcount :eredis query list, based on the given arguments

Creates the zincrby :eredis query list, based on the given arguments

Creates the zinter :eredis query list, based on the given arguments

Creates the zinterstore :eredis query list, based on the given arguments

Creates the zlexcount :eredis query list, based on the given arguments

Creates the zrange :eredis query list, based on the given arguments

Creates the zrangebylex :eredis query list, based on the given arguments

Creates the zrangebyscore :eredis query list, based on the given arguments

Creates the zrank :eredis query list, based on the given arguments

Creates the zrem :eredis query list, based on the given arguments

Creates the zremrangebylex :eredis query list, based on the given arguments

Creates the zremrangebyrank :eredis query list, based on the given arguments

Creates the zremrangebyscore :eredis query list, based on the given arguments

Creates the zrevrange :eredis query list, based on the given arguments

Creates the zrevrangebylex :eredis query list, based on the given arguments

Creates the zrevrangebyscore :eredis query list, based on the given arguments

Creates the zrevrank :eredis query list, based on the given arguments

Creates the zscan :eredis query list, based on the given arguments

Creates the zscore :eredis query list, based on the given arguments

Creates the zunion :eredis query list, based on the given arguments

Creates the zunionstore :eredis query list, based on the given arguments

Link to this section Functions

Link to this function

append(key, value, opts \\ []) View Source
append(
  String.t() | List.t() | Map.t(),
  String.t() | List.t() | Map.t(),
  Keyword.t()
) :: List.t()

Link to this function

command(command) View Source
command(String.t()) :: List.t()

Link to this function

command(command, key_or_keys, opts \\ []) View Source
command(String.t(), List.t(), Keyword.t()) :: List.t()

Link to this function

decr(key, opts \\ []) View Source
decr(String.t(), Keyword.t()) :: List.t()

Link to this function

decr_by(key, decrement, opts \\ []) View Source
decr_by(String.t(), Integer.t(), Keyword.t()) :: List.t()

Link to this function

del(keys, opts \\ []) View Source
del(List.t() | Map.t() | String.t(), Keyword.t()) :: List.t()

Link to this function

exists(key, opts \\ []) View Source
exists(String.t() | List.t() | Map.t(), Keyword.t()) :: List.t()

Link to this function

get_range(key, start, stop, opts \\ []) View Source
get_range(String.t(), Integer.t(), Integer.t(), Keyword.t()) :: List.t()

Link to this function

get_set(key, value, opts \\ []) View Source
get_set(String.t(), String.t(), Keyword.t()) :: List.t()

Link to this function

incr(key, opts \\ []) View Source
incr(String.t(), Keyword.t()) :: List.t()

Link to this function

incr_by(key, value, opts \\ []) View Source
incr_by(String.t(), Integer.t(), Keyword.t()) :: List.t()

Link to this function

incr_by_float(key, value, opts \\ []) View Source
incr_by_float(String.t(), String.t(), Keyword.t()) :: List.t()

Link to this function

lpush(key, values, opts \\ []) View Source
lpush(String.t(), List.t(), Keyword.t()) :: List.t()

Link to this function

lrange(key, start, stop, opts \\ []) View Source
lrange(String.t() | List.t() | Map.t(), Integer.t(), Integer.t(), Keyword.t()) ::
  List.t()

Link to this function

lrem(key, count, value, opts \\ []) View Source
lrem(String.t(), Integer.t(), String.t(), Keyword.t()) :: List.t()

Link to this function

lset(key, index, value, opts \\ []) View Source

Link to this function

mget(keys, opts \\ []) View Source
mget(List.t(), Keyword.t()) :: List.t()

Link to this function

mset(keys_and_values, opts \\ []) View Source
mset(List.t(), Keyword.t()) :: List.t()

Link to this function

mset_nx(keys_and_values, opts \\ []) View Source
mset_nx(List.t(), Keyword.t()) :: List.t()

Link to this function

pset_ex(key, milisecond, value, opts \\ []) View Source
pset_ex(String.t(), Integer.t(), String.t() | Integer.t(), Keyword.t()) ::
  List.t()

Link to this function

rpush(key, values, opts \\ []) View Source
rpush(String.t(), List.t(), Keyword.t()) :: List.t()

Link to this function

sadd(key, values, opts \\ []) View Source
sadd(
  String.t() | List.t() | Map.t(),
  String.t() | List.t() | Map.t(),
  Keyword.t()
) :: List.t()

Link to this function

scard(key, opts \\ []) View Source
scard(String.t() | List.t() | Map.t(), Keyword.t()) :: List.t()

Link to this function

sdiff(keys, opts \\ []) View Source
sdiff(List.t(), Keyword.t()) :: List.t()

Link to this function

sdiffstore(key, keys, opts \\ []) View Source
sdiffstore(String.t() | List.t() | Map.t(), List.t(), Keyword.t()) :: List.t()

Link to this function

set(key, value, opts \\ []) View Source
set(
  String.t() | List.t() | Map.t(),
  String.t() | List.t() | Map.t(),
  Keyword.t()
) :: List.t()

Link to this function

set_ex(key, second, value, opts \\ []) View Source
set_ex(
  String.t() | List.t() | Map.t(),
  Integer.t(),
  String.t() | List.t() | Map.t() | Integer.t(),
  Keyword.t()
) :: List.t()

Link to this function

set_nx(key, value, opts \\ []) View Source
set_nx(
  String.t() | List.t() | Map.t(),
  String.t() | List.t() | Map.t() | Integer.t(),
  Keyword.t()
) :: List.t()

Link to this function

set_range(key, offset, value, opts \\ []) View Source
set_range(
  String.t() | List.t() | Map.t(),
  Integer.t(),
  String.t() | List.t() | Map.t(),
  Keyword.t()
) :: List.t()

Link to this function

sinter(keys, opts \\ []) View Source
sinter(List.t(), Keyword.t()) :: List.t()

Link to this function

sinterstore(key, keys, opts \\ []) View Source
sinterstore(String.t() | Map.t() | List.t(), List.t(), Keyword.t()) :: List.t()

Link to this function

sismember(key, value, opts \\ []) View Source
sismember(String.t() | List.t() | Map.t(), String.t(), Keyword.t()) :: List.t()

Link to this function

smembers(key, opts \\ []) View Source
smembers(String.t() | List.t() | Map.t(), Keyword.t()) :: List.t()

Link to this function

smove(key_one, key_two, value, opts \\ []) View Source
smove(
  String.t() | List.t() | Map.t(),
  String.t() | List.t() | Map.t(),
  String.t() | List.t() | Map.t(),
  Keyword.t()
) :: List.t()

Link to this function

spop(key, count \\ nil, opts \\ []) View Source
spop(String.t() | List.t() | Map.t(), Integer.t() | nil, Keyword.t()) ::
  List.t()

Link to this function

srandmember(key, count \\ nil, opts \\ []) View Source
srandmember(String.t() | List.t() | Map.t(), Integer.t() | nil, Keyword.t()) ::
  List.t()

Link to this function

srem(key, value_or_values, opts \\ []) View Source
srem(
  String.t() | List.t() | Map.t(),
  String.t() | List.t() | Map.t(),
  Keyword.t()
) :: List.t()

Link to this function

sscan(key, values, opts \\ []) View Source
sscan(String.t() | Integer.t() | List.t() | Map.t(), List.t(), Keyword.t()) ::
  List.t()

Link to this function

strlen(key, opts \\ []) View Source
strlen(String.t(), Keyword.t()) :: List.t()

Link to this function

sunion(keys, opts \\ []) View Source
sunion(List.t(), Keyword.t()) :: List.t()

Link to this function

sunionstore(key, keys, opts \\ []) View Source
sunionstore(String.t() | List.t() | Map.t(), List.t(), Keyword.t()) :: List.t()

Link to this function

zadd(key, score, value, opts \\ []) View Source
zadd(String.t(), Integer.t(), String.t(), Keyword.t()) :: List.t()

Creates the zadd :eredis query list, based on the given arguments.

Link to this function

zcard(key, opts \\ []) View Source
zcard(String.t(), Keyword.t()) :: List.t()

Creates the zcard :eredis query list, based on the given arguments.

Link to this function

zcount(key, min, max, opts \\ []) View Source
zcount(String.t(), Integer.t(), Integer.t(), Keyword.t()) :: List.t()

Creates the zcount :eredis query list, based on the given arguments.

Link to this function

zincrby(key, increment, value, opts \\ []) View Source
zincrby(String.t(), Integer.t(), String.t(), Keyword.t()) :: List.t()

Creates the zincrby :eredis query list, based on the given arguments.

Link to this function

zinter(keys, opts \\ []) View Source
zinter(List.t(), Keyword.t()) :: List.t()

Creates the zinter :eredis query list, based on the given arguments.

Link to this function

zinterstore(key, keys, opts \\ []) View Source
zinterstore(String.t() | List.t() | Map.t(), List.t(), Keyword.t()) :: List.t()

Creates the zinterstore :eredis query list, based on the given arguments.

Link to this function

zlexcount(key, min, max, opts \\ []) View Source
zlexcount(String.t(), String.t(), String.t(), Keyword.t()) :: List.t()

Creates the zlexcount :eredis query list, based on the given arguments.

Link to this function

zrange(key, min, max, opts \\ []) View Source
zrange(String.t(), Integer.t(), Integer.t(), Keyword.t()) :: List.t()

Creates the zrange :eredis query list, based on the given arguments.

Link to this function

zrangebylex(key, min, max, opts \\ []) View Source
zrangebylex(String.t(), String.t(), String.t(), Keyword.t()) :: List.t()

Creates the zrangebylex :eredis query list, based on the given arguments.

Link to this function

zrangebyscore(key, min, max, opts \\ []) View Source
zrangebyscore(String.t(), Integer.t(), Integer.t(), Keyword.t()) :: List.t()

Creates the zrangebyscore :eredis query list, based on the given arguments.

Link to this function

zrank(key, value, opts \\ []) View Source
zrank(String.t(), String.t(), Keyword.t()) :: List.t()

Creates the zrank :eredis query list, based on the given arguments.

Link to this function

zrem(key, value, opts \\ []) View Source
zrem(String.t(), String.t(), Keyword.t()) :: List.t()

Creates the zrem :eredis query list, based on the given arguments.

Link to this function

zremrangebylex(key, min, max, opts \\ []) View Source
zremrangebylex(String.t(), String.t(), String.t(), Keyword.t()) :: List.t()

Creates the zremrangebylex :eredis query list, based on the given arguments.

Link to this function

zremrangebyrank(key, min, max, opts \\ []) View Source
zremrangebyrank(String.t(), Integer.t(), Integer.t(), Keyword.t()) :: List.t()

Creates the zremrangebyrank :eredis query list, based on the given arguments.

Link to this function

zremrangebyscore(key, min, max, opts \\ []) View Source
zremrangebyscore(String.t(), Integer.t(), Integer.t(), Keyword.t()) :: List.t()

Creates the zremrangebyscore :eredis query list, based on the given arguments.

Link to this function

zrevrange(key, min, max, opts \\ []) View Source
zrevrange(String.t(), Integer.t(), Integer.t(), Keyword.t()) :: List.t()

Creates the zrevrange :eredis query list, based on the given arguments.

Link to this function

zrevrangebylex(key, max, min, opts \\ []) View Source
zrevrangebylex(String.t(), String.t(), String.t(), Keyword.t()) :: List.t()

Creates the zrevrangebylex :eredis query list, based on the given arguments.

Link to this function

zrevrangebyscore(key, max, min, opts \\ []) View Source
zrevrangebyscore(String.t(), Integer.t(), Integer.t(), Keyword.t()) :: List.t()

Creates the zrevrangebyscore :eredis query list, based on the given arguments.

Link to this function

zrevrank(key, value, opts \\ []) View Source
zrevrank(String.t(), String.t(), Keyword.t()) :: List.t()

Creates the zrevrank :eredis query list, based on the given arguments.

Link to this function

zscan(key, values, opts \\ []) View Source
zscan(String.t() | Integer.t() | List.t() | Map.t(), List.t(), Keyword.t()) ::
  List.t()

Creates the zscan :eredis query list, based on the given arguments.

Link to this function

zscore(key, value, opts \\ []) View Source
zscore(String.t(), String.t(), Keyword.t()) :: List.t()

Creates the zscore :eredis query list, based on the given arguments.

Link to this function

zunion(keys, opts \\ []) View Source
zunion(List.t(), Keyword.t()) :: List.t()

Creates the zunion :eredis query list, based on the given arguments.

Link to this function

zunionstore(key, keys, opts \\ []) View Source
zunionstore(String.t() | List.t() | Map.t(), List.t(), Keyword.t()) :: List.t()

Creates the zunionstore :eredis query list, based on the given arguments.