Function RedisDatabase.renameNX

Rename a key, only if the new key does not exist

Prototype

bool renameNX(
  string key,
  string newkey
);

Authors

Jan Krüger, Sönke Ludwig, Michael Eisendle, Etienne Cimon

Copyright

© 2012-2014 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.