Open jimmymic opened 2 years ago
Reading this documentation page: https://redis.io/commands/copy/
Does the COPY command persist the current expiry that has been set on a key?
Would be useful to clarify the documentation.
Hello @jimmymic,
You've raised an excellent point - thanks!
The implementation of COPY, according to the source code, indeed copies the TTL.
COPY
Would you care to submit the PR that adds this to the documentation?
Reading this documentation page: https://redis.io/commands/copy/
Does the COPY command persist the current expiry that has been set on a key?
Would be useful to clarify the documentation.