Commands

HDEL

Deletes one or more fields and their values from a hash. Deletes the hash if no fields remain.

Learn more →
Read more

HEXISTS

Determines whether a field exists in a hash.

Learn more →
Read more

HEXPIRE

Set expiry for hash field using relative time to expire (seconds)

Learn more →
Read more

HEXPIREAT

Set expiry for hash field using an absolute Unix timestamp (seconds)

Learn more →
Read more

HEXPIRETIME

Returns the expiration time of a hash field as a Unix timestamp, in seconds.

Learn more →
Read more

HGET

Returns the value of a field in a hash.

Learn more →
Read more

HGETALL

Returns all fields and values in a hash.

Learn more →
Read more

HINCRBY

Increments the integer value of a field in a hash by a number. Uses 0 as initial value if the field doesn't exist.

Learn more →
Read more

HINCRBYFLOAT

Increments the floating point value of a field by a number. Uses 0 as initial value if the field doesn't exist.

Learn more →
Read more

HKEYS

Returns all fields in a hash.

Learn more →
Read more

HLEN

Returns the number of fields in a hash.

Learn more →
Read more

HMGET

Returns the values of all fields in a hash.

Learn more →
Read more

HMSET

Sets the values of multiple fields.

Learn more →
Read more

HPERSIST

Removes the expiration time for each specified field

Learn more →
Read more

HPEXPIRE

Set expiry for hash field using relative time to expire (milliseconds)

Learn more →
Read more

HPEXPIREAT

Set expiry for hash field using an absolute Unix timestamp (milliseconds)

Learn more →
Read more

HPEXPIRETIME

Returns the expiration time of a hash field as a Unix timestamp, in msec.

Learn more →
Read more

HPTTL

Returns the TTL in milliseconds of a hash field.

Learn more →
Read more

HRANDFIELD

Returns one or more random fields from a hash.

Learn more →
Read more

HSCAN

Iterates over fields and values of a hash.

Learn more →
Read more

HSET

Creates or modifies the value of a field in a hash.

Learn more →
Read more

HSETNX

Sets the value of a field in a hash only when the field doesn't exist.

Learn more →
Read more

HSTRLEN

Returns the length of the value of a field.

Learn more →
Read more

HTTL

Returns the TTL in seconds of a hash field.

Learn more →
Read more

HVALS

Returns all values in a hash.

Learn more →
Read more