diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-04 07:19:32 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-04 07:19:32 +0000 |
commit | 7480e618ec785ba8a1c74c8a150cffe5880fb3bb (patch) | |
tree | 87422376dd9a7eee55850f0fce9a8bb4c13e44a2 /iredis/data/commands/restore.md | |
parent | Adding upstream version 1.12.1. (diff) | |
download | iredis-df49d7c38b2b8498c93215691d16403b32becec8.tar.xz iredis-df49d7c38b2b8498c93215691d16403b32becec8.zip |
Adding upstream version 1.13.0.upstream/1.13.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'iredis/data/commands/restore.md')
-rw-r--r-- | iredis/data/commands/restore.md | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/iredis/data/commands/restore.md b/iredis/data/commands/restore.md index 50632e4..eb605be 100644 --- a/iredis/data/commands/restore.md +++ b/iredis/data/commands/restore.md @@ -4,20 +4,19 @@ provided serialized value (obtained via `DUMP`). If `ttl` is 0 the key is created without any expire, otherwise the specified expire time (in milliseconds) is set. -If the `ABSTTL` modifier was used, `ttl` should represent an absolute [Unix -timestamp][hewowu] (in milliseconds) in which the key will expire. (Redis 5.0 or -greater). +If the `ABSTTL` modifier was used, `ttl` should represent an absolute +[Unix timestamp][hewowu] (in milliseconds) in which the key will expire. [hewowu]: http://en.wikipedia.org/wiki/Unix_time For eviction purposes, you may use the `IDLETIME` or `FREQ` modifiers. See -`OBJECT` for more information (Redis 5.0 or greater). +`OBJECT` for more information. -`RESTORE` will return a "Target key name is busy" error when `key` already -exists unless you use the `REPLACE` modifier (Redis 3.0 or greater). +`!RESTORE` will return a "Target key name is busy" error when `key` already +exists unless you use the `REPLACE` modifier. -`RESTORE` checks the RDB version and data checksum. If they don't match an error -is returned. +`!RESTORE` checks the RDB version and data checksum. +If they don't match an error is returned. @return |