The key to get.
The new value to store.
Was this page helpful?
redis.set("key", "old-value")assert redis.getset("key", "newvalue") == "old-value"