CheatSnip

Related

List Push Left

redis

Prepend to list

List Range

redis

Get list elements

Set Hash Field

redis

Set a specific field in a hash to a given value.

redis/rpush

List Push Right

Append to list

list
data-structure

Command

RPUSH key element

Explanation

Inserts all specified values at the tail of the list stored at key.

Examples

Add task to end

RPUSH tasks "task2"

More

Get Hash Field

redis

Retrieve the value of a specific field from a hash.

Get All Hash Fields

redis

Retrieve all fields and their values from a hash.

Set Add

redis

Add members to set

CheatSnip

Lightning-fast access to essential developer commands and code snippets. Search, copy, and master your favorite tools with our comprehensive cheat sheets.

Poorna Prakash

Quick Links

Git CommandsDockerNPMKubernetesYour Favorites

Legal

Terms & ConditionsPrivacy PolicyCookie Preferences

Company

About UsContact

© 2025 CheatSnip. All rights reserved.

Made with ❤️ for developers