View Source Rediscl.Query.Api (rediscl v1.0.0)

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
@spec append(
  String.t() | List.t() | Map.t(),
  String.t() | List.t() | Map.t(),
  Keyword.t()
) :: List.t()
@spec command(String.t()) :: List.t()
Link to this function

command(command, key_or_keys, opts \\ [])

View Source
@spec command(String.t(), List.t(), Keyword.t()) :: List.t()
@spec decr(String.t(), Keyword.t()) :: List.t()
Link to this function

decr_by(key, decrement, opts \\ [])

View Source
@spec decr_by(String.t(), Integer.t(), Keyword.t()) :: List.t()
@spec del(List.t() | Map.t() | String.t(), Keyword.t()) :: List.t()
@spec exists(String.t() | List.t() | Map.t(), Keyword.t()) :: List.t()
@spec get(String.t(), Keyword.t()) :: List.t()
Link to this function

get_range(key, start, stop, opts \\ [])

View Source
@spec get_range(String.t(), Integer.t(), Integer.t(), Keyword.t()) :: List.t()
Link to this function

get_set(key, value, opts \\ [])

View Source
@spec get_set(String.t(), String.t(), Keyword.t()) :: List.t()
@spec incr(String.t(), Keyword.t()) :: List.t()
Link to this function

incr_by(key, value, opts \\ [])

View Source
@spec incr_by(String.t(), Integer.t(), Keyword.t()) :: List.t()
Link to this function

incr_by_float(key, value, opts \\ [])

View Source
@spec incr_by_float(String.t(), String.t(), Keyword.t()) :: List.t()
Link to this function

lpush(key, values, opts \\ [])

View Source
@spec lpush(String.t(), List.t(), Keyword.t()) :: List.t()
Link to this function

lrange(key, start, stop, opts \\ [])

View Source
@spec 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
@spec lrem(String.t(), Integer.t(), String.t(), Keyword.t()) :: List.t()
Link to this function

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

View Source
@spec mget(List.t(), Keyword.t()) :: List.t()
Link to this function

mset(keys_and_values, opts \\ [])

View Source
@spec mset(List.t(), Keyword.t()) :: List.t()
Link to this function

mset_nx(keys_and_values, opts \\ [])

View Source
@spec mset_nx(List.t(), Keyword.t()) :: List.t()
Link to this function

pset_ex(key, milisecond, value, opts \\ [])

View Source
@spec pset_ex(String.t(), Integer.t(), String.t() | Integer.t(), Keyword.t()) ::
  List.t()
Link to this function

rpush(key, values, opts \\ [])

View Source
@spec rpush(String.t(), List.t(), Keyword.t()) :: List.t()
Link to this function

sadd(key, values, opts \\ [])

View Source
@spec sadd(
  String.t() | List.t() | Map.t(),
  String.t() | List.t() | Map.t(),
  Keyword.t()
) :: List.t()
@spec scard(String.t() | List.t() | Map.t(), Keyword.t()) :: List.t()
@spec sdiff(List.t(), Keyword.t()) :: List.t()
Link to this function

sdiffstore(key, keys, opts \\ [])

View Source
@spec sdiffstore(String.t() | List.t() | Map.t(), List.t(), Keyword.t()) :: List.t()
Link to this function

set(key, value, opts \\ [])

View Source
@spec 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
@spec 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
@spec 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
@spec 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
@spec sinter(List.t(), Keyword.t()) :: List.t()
Link to this function

sinterstore(key, keys, opts \\ [])

View Source
@spec sinterstore(String.t() | Map.t() | List.t(), List.t(), Keyword.t()) :: List.t()
Link to this function

sismember(key, value, opts \\ [])

View Source
@spec sismember(String.t() | List.t() | Map.t(), String.t(), Keyword.t()) :: List.t()
Link to this function

smembers(key, opts \\ [])

View Source
@spec smembers(String.t() | List.t() | Map.t(), Keyword.t()) :: List.t()
Link to this function

smove(key_one, key_two, value, opts \\ [])

View Source
@spec 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
@spec 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
@spec 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
@spec 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
@spec sscan(String.t() | Integer.t() | List.t() | Map.t(), List.t(), Keyword.t()) ::
  List.t()
@spec strlen(String.t(), Keyword.t()) :: List.t()
Link to this function

sunion(keys, opts \\ [])

View Source
@spec sunion(List.t(), Keyword.t()) :: List.t()
Link to this function

sunionstore(key, keys, opts \\ [])

View Source
@spec sunionstore(String.t() | List.t() | Map.t(), List.t(), Keyword.t()) :: List.t()
Link to this function

zadd(key, score, value, opts \\ [])

View Source
@spec zadd(String.t(), Integer.t(), String.t(), Keyword.t()) :: List.t()

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

@spec 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
@spec 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
@spec 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
@spec 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
@spec 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
@spec 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
@spec 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
@spec 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
@spec 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
@spec 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
@spec 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
@spec 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
@spec 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
@spec 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
@spec 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
@spec 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
@spec 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
@spec 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
@spec 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
@spec 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
@spec 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
@spec zunionstore(String.t() | List.t() | Map.t(), List.t(), Keyword.t()) :: List.t()

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