We found 30 matches for: redis

An overview of all redis blocks currently available, updated daily!

redis sets: push array

prepend multiple elements to a sadd

In-pins

flow
set
the key of the set in redis.
elements
the element to push.

Out-pins

flow
success
error
length
redis lists: push array

prepend multiple elements to a list

In-pins

flow
list
the key of the list in redis.
elements
the element to push.

Out-pins

flow
success
error
length
redis lists: trim

trim a list to the specified range

In-pins

flow
list
the key of the list in redis.
start
the index to start at.
stop
the index to stop at. can be -1 or -2

Out-pins

flow
result
success
error
redis sets: rem

Remove one member from a set

In-pins

flow
set
the key of the set in redis
value
the value to add to the set.

Out-pins

flow
result
success
error
redis lists: set

set the value of an element in a list by its index

In-pins

flow
list
the key of the list in redis.
index
the index to update the element at.
element
the new value of the element.

Out-pins

flow
result
success
error
redis sets: add

add one member to a set

In-pins

flow
set
the key of the set in redis
value
the value to add to the set.

Out-pins

flow
result
success
error
redis sets: card

get the number of members in a set

In-pins

flow
set
the key of the set in redis

Out-pins

flow
result
success
error
redis lists: rpushx

append an element to a list, only if the list exists

In-pins

flow
list
the key of the list in redis.
element
the element to push.

Out-pins

flow
exists
success
error
length
redis lists: rpush

append one or multiple elements to a list

In-pins

flow
list
the key of the list in redis.
element
the element to push.

Out-pins

flow
success
error
length
redis lists: rpop

remove and get the last element in a list

In-pins

flow
list
the key of the list in redis.

Out-pins

flow
element
success
error
redis lists: range

get a range of elements from a list

In-pins

flow
list
the key of the list in redis.
start
the index to start at.
stop
the index to stop at. can be -1 or -2

Out-pins

flow
elements
success
error
redis lists: push

prepend one element to a list

In-pins

flow
list
the key of the list in redis.
element
the element to push.

Out-pins

flow
success
error
length
redis lists: pop

Remove and get the first element in a list

In-pins

flow
list
the key of the list in redis.

Out-pins

flow
element
success
error
redis lists: get by index

Get an element from a list by its index

In-pins

flow
list
the key of the list in redis.
index
the index to retrieve the element from.

Out-pins

flow
element
success
error
redis sets: pop

Remove and return one random member from a set

In-pins

flow
set
the key of the set in redis

Out-pins

flow
member
success
error
redis sets: members

Get all the members in a set

In-pins

flow
set
the key of the set in redis

Out-pins

flow
members
success
error
redis: increment

Increments the number stored at key by one. If the key does not exist, it is set to 0 before performing the operation.

In-pins

flow
key
Name of the key to increment.
number
Number to increment given cache key with.

Out-pins

flow
number
New number.
error
redis: decrement

Decrements the number stored at key by one. If the key does not exist, it is set to 0 before performing the operation.

In-pins

flow
key
Name of the key to decrement.
number
Number to decrement given the key with.

Out-pins

flow
number
New number.
error
redis: get ttl

In-pins

flow
key
Name of the key to update.

Out-pins

flow
TTL
Current time to live in seconds.
redis: set ttl

In-pins

flow
key
Name of the key to update.
TTL
Time to live in seconds.

Default:
60

Out-pins

flow
error
redis: get

In-pins

key
Sim.

Out-pins

value
redis lists: remove

removes the first count occurrences of elements equal to element

In-pins

flow
list
the key of the list in redis.
count
number of elements to remove if found.

Default:
0
element
matching element to remove

Out-pins

flow
result
success
error
redis lists: insert at index

Insert an element before or after another element in a list

In-pins

flow
list
the key of the list in redis.
before or after
determines if the element should be added before or after the other given element.

Default:
BEFORE
target
element
the new element to be added

Out-pins

flow
result
success
error
redis sets: is member

determine if a given value is a member of a set

In-pins

flow
set
the key of the set in redis
value
the value to check in the set.

Out-pins

flow
is member
result
success
error
redis lists: pushx

prepend an element to a list, only if the list exists

In-pins

flow
list
the key of the list in redis.
element
the element to push.

Out-pins

flow
exists
success
error
length
redis lists: len

get the length of a list

In-pins

flow
list
the key of the list in redis.

Out-pins

flow
length
success
error
redis sets: randmember

Get one random member from a set

In-pins

flow
set
the key of the set in redis

Out-pins

flow
member
success
error
redis: delete

Removes the specified key and their values.

In-pins

flow
key
The key to delete within our redis cache.

Out-pins

flow
redis: exists

Checks if the key already exists

In-pins

flow
key
The key to check.

Out-pins

flow
exists
redis: set

Set key to hold the string value. If key already holds a value, it is overwritten, regardless of its type.

In-pins

flow
key
The key to be set
value
Value being set, will be stored value regardless type.
TTL
Set the specified expire time, in seconds..

Default:
none

Out-pins

flow