Construct COPY.
Available since Redis 6.2.0.
Official Redis command documentation.
Parameters (in order): source, destination, options.
Parameters beginning with options are unvalidated wire arguments in the documented syntax position.
Keyspace
:= { }
GENERATED FILE: do not edit directly; regenerate with scripts/command-catalog.roc generate.
Binary-safe Redis OSS 8.10.1 Generic command constructors.
Scalar wire arguments are List(U8). Required variadic arguments use
a first value plus a remaining list, so an empty required collection is
unrepresentable. Count prefixes are derived automatically. Parameters
beginning with options are deliberately raw token lists for grammars whose
combinations Redis validates; they are inserted verbatim and may be empty.
A { first, rest } record is a non-empty raw token sequence for a required
grammar choice; Redis validates the sequence when it executes the command.
Construct DEL.
Available since Redis 1.0.0.
Official Redis command documentation.
Parameters (in order): first_key, other_keys.
Construct DUMP.
Available since Redis 2.6.0.
Official Redis command documentation.
Parameters (in order): key.
Construct EXISTS.
Available since Redis 1.0.0.
Official Redis command documentation.
Parameters (in order): first_key, other_keys.
Construct EXPIRE.
Available since Redis 1.0.0.
Official Redis command documentation.
Parameters (in order): key, seconds, options.
Parameters beginning with options are unvalidated wire arguments in the documented syntax position.
Construct EXPIREAT.
Available since Redis 1.2.0.
Official Redis command documentation.
Parameters (in order): key, unix_time_seconds, options.
Parameters beginning with options are unvalidated wire arguments in the documented syntax position.
expiretime : List(U8) -> Command
Construct EXPIRETIME.
Available since Redis 7.0.0.
Official Redis command documentation.
Parameters (in order): key.
Construct KEYS.
Available since Redis 1.0.0.
Official Redis command documentation.
Parameters (in order): pattern.
Construct MIGRATE.
Available since Redis 2.6.0.
Official Redis command documentation.
Parameters (in order): host, port, key_selector, destination_db, timeout, options.
Parameters beginning with options are unvalidated wire arguments in the documented syntax position.
Construct MOVE.
Available since Redis 1.0.0.
Official Redis command documentation.
Parameters (in order): key, db.
object_encoding : List(U8) -> Command
Construct OBJECT ENCODING.
Available since Redis 2.2.3.
Official Redis command documentation.
Parameters (in order): key.
object_freq : List(U8) -> Command
Construct OBJECT FREQ.
Available since Redis 4.0.0.
Official Redis command documentation.
Parameters (in order): key.
object_idletime : List(U8) -> Command
Construct OBJECT IDLETIME.
Available since Redis 2.2.3.
Official Redis command documentation.
Parameters (in order): key.
object_refcount : List(U8) -> Command
Construct OBJECT REFCOUNT.
Available since Redis 2.2.3.
Official Redis command documentation.
Parameters (in order): key.
Construct PERSIST.
Available since Redis 2.2.0.
Official Redis command documentation.
Parameters (in order): key.
Construct PEXPIRE.
Available since Redis 2.6.0.
Official Redis command documentation.
Parameters (in order): key, milliseconds, options.
Parameters beginning with options are unvalidated wire arguments in the documented syntax position.
Construct PEXPIREAT.
Available since Redis 2.6.0.
Official Redis command documentation.
Parameters (in order): key, unix_time_milliseconds, options.
Parameters beginning with options are unvalidated wire arguments in the documented syntax position.
pexpiretime : List(U8) -> Command
Construct PEXPIRETIME.
Available since Redis 7.0.0.
Official Redis command documentation.
Parameters (in order): key.
Construct PTTL.
Available since Redis 2.6.0.
Official Redis command documentation.
Parameters (in order): key.
randomkey : () -> Command
Construct RANDOMKEY.
Available since Redis 1.0.0.
Official Redis command documentation.
Construct RENAME.
Available since Redis 1.0.0.
Official Redis command documentation.
Parameters (in order): key, newkey.
Construct RENAMENX.
Available since Redis 1.0.0.
Official Redis command documentation.
Parameters (in order): key, newkey.
Construct RESTORE.
Available since Redis 2.6.0.
Official Redis command documentation.
Parameters (in order): key, ttl_2, serialized_value, options.
Parameters beginning with options are unvalidated wire arguments in the documented syntax position.
Construct SCAN.
Available since Redis 2.8.0.
Official Redis command documentation.
Parameters (in order): cursor, options.
Parameters beginning with options are unvalidated wire arguments in the documented syntax position.
Construct SORT.
Available since Redis 1.0.0.
Official Redis command documentation.
Parameters (in order): key, options.
Parameters beginning with options are unvalidated wire arguments in the documented syntax position.
Construct SORT_RO.
Available since Redis 7.0.0.
Official Redis command documentation.
Parameters (in order): key, options.
Parameters beginning with options are unvalidated wire arguments in the documented syntax position.
Construct TOUCH.
Available since Redis 3.2.1.
Official Redis command documentation.
Parameters (in order): first_key, other_keys.
Construct TTL.
Available since Redis 1.0.0.
Official Redis command documentation.
Parameters (in order): key.
Construct TYPE.
Available since Redis 1.0.0.
Official Redis command documentation.
Parameters (in order): key.
Construct UNLINK.
Available since Redis 4.0.0.
Official Redis command documentation.
Parameters (in order): first_key, other_keys.
Construct WAIT.
Available since Redis 3.0.0.
Official Redis command documentation.
Parameters (in order): numreplicas, timeout.
Construct WAITAOF.
Available since Redis 7.2.0.
Official Redis command documentation.
Parameters (in order): numlocal, numreplicas, timeout.