You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.