Redis.rename

Atomically renames the key oldkey to newkey. If the source and destination name are the same an error is returned. If newkey already exists it is overwritten. <p> Time complexity: O(1) @param oldkey @param newkey @return Status code repy

  1. string rename(string oldkey, string newkey)
    class Redis
    string
    rename
    (
    string oldkey
    ,
    string newkey
    )
  2. alias rename = BinaryRedis.rename

Meta