def rename(self, src, dst, preserve=False):
        self._send('RENAMENX' if preserve else 'RENAME', src, dst)
        return self.getResponse()
Rename a key
dataset/ETHPy150Open deldotdr/txRedis/txredis/client.py/RedisClient.rename