`|Redis Documentation| `_ **NonexistentCommands: Contents**   `HGETSET <#HGETSET>`_   `SET with expire <#SET%20with%20expire>`_   `ZADDNX <#ZADDNX>`_ NonexistentCommands =================== A list of commands that don't exist in Redis, but can be accomplished in a different way. This is a list of commands that don't exist in Redis, but can be accomplished in a different way, usually by means of `WATCH/MULTI/EXEC `_. For better performance, you can pipeline multiple commands. HGETSET ======= `GETSET `_ for Hashes. :: WATCH foo old_value = HGET foo field MULTI HSET foo field new_value EXEC SET with expire =============== See `SETEX `_. ZADDNX ====== Add an element to a sorted set, only if the element doesn't already exist (by default, `ZADD `_ would update the element's score if it already exists). `See thread `_. :: WATCH foo score = ZSCORE foo bar IF score != NIL MULTI ZADD foo 1 bar EXEC ENDIF .. |Redis Documentation| image:: redis.png