Skip to content

Add example script showing how to run a command with several modifiers. #1688

@simonprickett

Description

@simonprickett

Add an example script that shows how to run a command with several modifiers. Use the SET command twice as follows:

127.0.0.1:6379> set mykey myvalue ex 60 get
(nil)
127.0.0.1:6379> set mykey newvalue ex 60 get
"myvalue"

Pay attention to the guidelines for adding an example here when doing this. Name your file command-with-modifiers.js or .ts if using TypeScript, and your function commandWithModifiers.

This is part of our participation in Hacktoberfest 2021. Learn how to complete this issue here: https://developer.redis.com/hacktoberfest/

Need help or want to talk to us? Join us on Discord where we have a dedicated Hacktoberfest channel: https://discord.gg/ueQwKUh5Z3

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions