Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/command-reference/acl/cat.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ If a category name is given, the command shows all the Dragonfly commands in the

## Return

[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays)
[Array reply](https://valkey.io/topics/protocol/#arrays)

## Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/acl/deluser.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ In such cases, no operation is performed for the non-existent ACL users.

## Return

[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the number of users that were deleted.
[Integer reply](https://valkey.io/topics/protocol/#integers): the number of users that were deleted.
This number will not always match the number of arguments since certain users may not exist.

## Examples
Expand Down
4 changes: 2 additions & 2 deletions docs/command-reference/acl/dryrun.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ It can be used to test the permissions without having to enable the user or caus

## Return

- [Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK` on success.
- [Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): an error describing why the user can't execute the command.
- [Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK` on success.
- [Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): an error describing why the user can't execute the command.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/acl/genpass.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Note that the number of bits provided is rounded to the next multiple of 4.

## Return

- [Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec#bulk-strings): pseudorandom data.
- [Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): pseudorandom data.
By default it contains 64 bytes, representing 256 bits of data.
If the `bits` argument was given, the output string length is the number of specified bits (rounded to the next multiple of 4) divided by 4.

Expand Down
4 changes: 2 additions & 2 deletions docs/command-reference/acl/getuser.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ The command returns all the rules defined for an existing ACL user.

## Return

- [Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a list of ACL rule definitions for the user.
- [Null reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): if the user does not exist.
- [Array reply](https://valkey.io/topics/protocol/#arrays): a list of ACL rule definitions for the user.
- [Null reply](https://valkey.io/topics/protocol/#bulk-strings): if the user does not exist.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/acl/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Each line consists of the username, followed by their status (ON/OFF), a 15-char

## Return

[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): An array of strings.
[Array reply](https://valkey.io/topics/protocol/#arrays): An array of strings.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/acl/load.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ When Dragonfly is configured to use an ACL file (with the `--aclfile` configurat

## Return

[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK` on success.
[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK` on success.
The error otherwise.

## Examples
Expand Down
4 changes: 2 additions & 2 deletions docs/command-reference/acl/log.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ The `RESET` arguments clears the log.

When called to show security events:

[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a list of ACL security events.
[Array reply](https://valkey.io/topics/protocol/#arrays): a list of ACL security events.

When called with `RESET`:
[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK` if the security log was cleared.
[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK` if the security log was cleared.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/acl/save.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ you plan them to be read only (and in that case it would make sense to store the

## Return

[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK` on success.
[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK` on success.
The error otherwise.

## Examples
Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/acl/setuser.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ specific logical databases. This provides fine-grained control over which databa

## Return

[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK` on success. If the rules contain errors, the error is returned.
[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK` on success. If the rules contain errors, the error is returned.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/acl/users.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Shows a list of all the usernames in Dragonfly.

## Return

[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays)
[Array reply](https://valkey.io/topics/protocol/#arrays)

## Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/acl/whoami.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Return the username the current connection is authenticated with.

## Return

[Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): the username of the current connection.
[Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): the username of the current connection.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/bloom-filter/bf.add.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If the `key` does not exist, a new Bloom filter is created with default paramete

## Return

[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers):
[Integer reply](https://valkey.io/topics/protocol/#integers):

- `1` if the item was successfully added to the filter.
- `0` if the item was already added to the filter, which could be a false positive.
Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/bloom-filter/bf.exists.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Checks for the existence of a single item in a Bloom filter `key`.

## Return

[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers):
[Integer reply](https://valkey.io/topics/protocol/#integers):

- `1` if the item exists with a high probability.
- `0` if the item definitely does not exist.
Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/bloom-filter/bf.madd.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Adds one or more items to a Bloom filter `key`.

## Return

[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays):
[Array reply](https://valkey.io/topics/protocol/#arrays):
an array of integers, each representing the result for an individual item as if being processed by the [`BF.ADD`](./bf.add.md) command:

- `1` if the item was successfully added to the filter.
Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/bloom-filter/bf.mexists.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Checks for the existence of one or more items in a Bloom filter `key`.

## Return

[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays):
[Array reply](https://valkey.io/topics/protocol/#arrays):
an array of integers, each representing the result for an individual item as if being processed by the [`BF.EXISTS`](./bf.exists.md) command:

- `1` if the item exists with a high probability.
Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/bloom-filter/bf.reserve.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ and a false positive rate `false_positive_rate` that should be a double between

## Return

[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK` if the Bloom filter was created successfully.
[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK` if the Bloom filter was created successfully.

## Examples

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ Note: command only deletes keys that were present at the time the command was in

## Return

[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK`.
[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK`.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The `DFLYCLUSTER GETSLOTINFO` command is used to get information regarding provi

## Return

[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a nested list of slots info.
[Array reply](https://valkey.io/topics/protocol/#arrays): a nested list of slots info.

## Examples

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Otherwise, it returns the statuses of all migrations on the current node.

## Return

[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a nested list of migration info.
[Array reply](https://valkey.io/topics/protocol/#arrays): a nested list of migration info.
For each migration, the following fields are returned:
- The migration direction, which can be `in` or `out`.
- The `node_id` of the migration.
Expand Down
4 changes: 2 additions & 2 deletions docs/command-reference/generic/copy.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ The `REPLACE` option removes an existing key before copying.

## Return

- [Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): `1` if the `source` was copied.
- [Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): `0` if the `source` was not copied when `destination` already exists.
- [Integer reply](https://valkey.io/topics/protocol/#integers): `1` if the `source` was copied.
- [Integer reply](https://valkey.io/topics/protocol/#integers): `0` if the `source` was not copied when `destination` already exists.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/generic/del.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ A key is ignored if it does not exist.

## Return

[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): The number of keys that were removed.
[Integer reply](https://valkey.io/topics/protocol/#integers): The number of keys that were removed.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/generic/discard.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ If `WATCH` was used, `DISCARD` unwatches all keys watched by the connection.

## Return

[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): always `OK`.
[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): always `OK`.
2 changes: 1 addition & 1 deletion docs/command-reference/generic/dump.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ If `key` does not exist a nil bulk reply is returned.

## Return

[Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): the serialized value.
[Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): the serialized value.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/generic/eval-ro.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ For a general introduction to scripting, see `EVAL` and the [Redis Programmabili

## Return

The reply is the result returned by the script, using the [RESP](https://redis.io/docs/latest/develop/reference/protocol-spec/) types.
The reply is the result returned by the script, using the [RESP](https://valkey.io/topics/protocol//) types.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/generic/evalsha-ro.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ For Valkey semantics reference, see the [corresponding command page here](https:

## Return

The reply is the result returned by the script, using the [RESP](https://redis.io/docs/latest/develop/reference/protocol-spec/) types.
The reply is the result returned by the script, using the [RESP](https://valkey.io/topics/protocol//) types.

## Examples

Expand Down
4 changes: 2 additions & 2 deletions docs/command-reference/generic/exec.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ not modified, allowing for a [check-and-set mechanism][ttc].

## Return

[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): each element being the reply to each of the commands in the
[Array reply](https://valkey.io/topics/protocol/#arrays): each element being the reply to each of the commands in the
atomic transaction.

When using `WATCH`, `EXEC` can return a [Null reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings) if the execution was aborted.
When using `WATCH`, `EXEC` can return a [Null reply](https://valkey.io/topics/protocol/#bulk-strings) if the execution was aborted.
2 changes: 1 addition & 1 deletion docs/command-reference/generic/exists.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The user should be aware that if the same existing key is mentioned in the argum

## Return

[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically the number of keys that exist from those specified as arguments.
[Integer reply](https://valkey.io/topics/protocol/#integers), specifically the number of keys that exist from those specified as arguments.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/generic/expire.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ There are many useful applications for this, an example is documented in the

## Return

[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically:
[Integer reply](https://valkey.io/topics/protocol/#integers), specifically:

- `1` if the timeout was set.
- `0` if the timeout was not set. e.g. key doesn't exist, or operation skipped due to the provided arguments.
Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/generic/expireat.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Please for the specific semantics of the command refer to the documentation of

## Return

[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically:
[Integer reply](https://valkey.io/topics/protocol/#integers), specifically:

- `1` if the timeout was set.
- `0` if the timeout was not set. e.g. key doesn't exist, or operation skipped due to the provided arguments.
Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/generic/expiretime.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ See also the [`PEXPIRETIME`](./pexpiretime.md) command which returns the same in

## Return

[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically:
[Integer reply](https://valkey.io/topics/protocol/#integers), specifically:

- The expiration Unix timestamp, in seconds.
- `-1` if the key exists but has no expiration time.
Expand Down
4 changes: 2 additions & 2 deletions docs/command-reference/generic/fieldexpire.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ Field(s) or member(s) will automatically be deleted from the hash or set key whe

## Return

[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays):
[Array reply](https://valkey.io/topics/protocol/#arrays):

- Integer reply: `-2` if no such field exists in the provided hash or set key, or the provided key does not exist.
- Integer reply: `1` if the expiration time was set/updated.
- Integer reply: `2` when `FIELDEXPIRE` is called with 0 seconds.

[Simple error reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-errors):
[Simple error reply](https://valkey.io/topics/protocol/#simple-errors):

- If parsing failed, mandatory arguments are missing, unknown arguments are specified, or argument values are of the wrong type or out of range, an error is returned.
- If the provided key exists but is neither a hash nor a set, an error is returned.
Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/generic/fieldttl.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ A ```WRONGTYPE``` error is returned if the key is not a hash or set.

## Return

[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): TTL in seconds, or a negative value in order to signal an error.
[Integer reply](https://valkey.io/topics/protocol/#integers): TTL in seconds, or a negative value in order to signal an error.

- The command returns `-1` if the field exists but has no associated TTL.
- The command returns `-2` if the key does not exist.
Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/generic/keys.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Use `\` to escape special characters if you want to match them verbatim.

## Return

[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): list of keys matching `pattern`.
[Array reply](https://valkey.io/topics/protocol/#arrays): list of keys matching `pattern`.

### Number of Elements Returned

Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/generic/move.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ It is possible to use `MOVE` as a locking primitive because of this.

## Return

[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically:
[Integer reply](https://valkey.io/topics/protocol/#integers), specifically:

- `1` if `key` was moved.
- `0` if `key` was not moved.
2 changes: 1 addition & 1 deletion docs/command-reference/generic/multi.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ Subsequent commands will be queued for atomic execution using `EXEC`.

## Return

[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): always `OK`.
[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): always `OK`.
2 changes: 1 addition & 1 deletion docs/command-reference/generic/persist.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ is associated).

## Return

[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically:
[Integer reply](https://valkey.io/topics/protocol/#integers), specifically:

- `1` if the timeout was removed.
- `0` if `key` does not exist or does not have an associated timeout.
Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/generic/pexpire.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ specified in milliseconds instead of seconds.

## Return

[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically:
[Integer reply](https://valkey.io/topics/protocol/#integers), specifically:

- `1` if the timeout was set.
- `0` if the timeout was not set. e.g. key doesn't exist, or operation skipped due to the provided arguments.
Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/generic/pexpireat.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ which the key will expire is specified in milliseconds instead of seconds.

## Return

[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically:
[Integer reply](https://valkey.io/topics/protocol/#integers), specifically:

- `1` if the timeout was set.
- `0` if the timeout was not set. e.g. key doesn't exist, or operation skipped due to the provided arguments.
Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/generic/pexpiretime.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ but the absolute Unix expiration timestamp of the key is returned in millisecond

## Return

[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically:
[Integer reply](https://valkey.io/topics/protocol/#integers), specifically:

- The expiration Unix timestamp, in milliseconds
- `-1` if the key exists but has no expiration time.
Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/generic/pttl.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ time in seconds while `PTTL` returns it in milliseconds.

## Return

[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): TTL in milliseconds, or a negative value in order to signal an error.
[Integer reply](https://valkey.io/topics/protocol/#integers): TTL in milliseconds, or a negative value in order to signal an error.

- The command returns `-2` if the key does not exist.
- The command returns `-1` if the key exists but has no associated expire.
Expand Down
2 changes: 1 addition & 1 deletion docs/command-reference/generic/randomkey.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ Return a random key from the currently selected database.

## Return

- [Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): A random key in database.
- [Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): A random key in database.
- `nil` when the database is empty.
2 changes: 1 addition & 1 deletion docs/command-reference/generic/rename.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ If `newkey` already exists it is overwritten, when this happens `RENAME` execute

## Return

[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings)
[Simple string reply](https://valkey.io/topics/protocol/#simple-strings)

## Examples

Expand Down
Loading
Loading