Skip to content

Commit

Permalink
DOC-3602: remove HGETF/HSETF and update return values
Browse files Browse the repository at this point in the history
  • Loading branch information
dwdougherty committed May 28, 2024
1 parent fb106e5 commit 7272483
Show file tree
Hide file tree
Showing 13 changed files with 9 additions and 470 deletions.
2 changes: 1 addition & 1 deletion content/commands/hexpire/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@ One of the following:
* [Simple error reply](../../develop/reference/protocol-spec#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.
- if the provided key exists but is not a hash.
* [Null reply](../../develop/reference/protocol-spec#nulls) if the provided key does not exist.
* Empty [Array reply](../../develop/reference/protocol-spec#arrays) if the provided key does not exist.
2 changes: 1 addition & 1 deletion content/commands/hexpireat/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,4 @@ One of the following:
* [Simple error reply](../../develop/reference/protocol-spec#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.
- if the provided key exists but is not a hash.
* [Null reply](../../develop/reference/protocol-spec#nulls) if the provided key does not exist.
* Empty [Array reply](../../develop/reference/protocol-spec#arrays) if the provided key does not exist.
2 changes: 1 addition & 1 deletion content/commands/hexpiretime/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ redis> HEXPIRETIME mykey FIELDS 2 field1 field2
## RESP2/RESP3 replies

One of the following:
* [Null reply]({{< relref "/develop/reference/protocol-spec" >}}#nulls) if the provided key does not exists.
* Empty [Array reply]({{< relref "/develop/reference/protocol-spec" >}}#arrays) if the provided key does not exist.
* [Array reply]({{< relref "/develop/reference/protocol-spec" >}}#arrays). For each field:
- [Integer reply]({{< relref "/develop/reference/protocol-spec" >}}#integers): `-2` if no such field exists in the provided hash key.
- [Integer reply]({{< relref "/develop/reference/protocol-spec" >}}#integers): `-1` if the field exists but has no associated expiration set.
Expand Down
154 changes: 0 additions & 154 deletions content/commands/hgetf/index.md

This file was deleted.

37 changes: 0 additions & 37 deletions content/commands/hgetf/syntax.svg

This file was deleted.

2 changes: 1 addition & 1 deletion content/commands/hpersist/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ redis> HTTL mykey FIELDS 2 field1 field2
## RESP2/RESP3 replies

One of the following:
* [Null reply]({{< relref "/develop/reference/protocol-spec" >}}#nulls) if the provided key does not exists.
* Empty [Array reply]({{< relref "/develop/reference/protocol-spec" >}}#arrays) if the provided key does not exist.
* [Array reply]({{< relref "/develop/reference/protocol-spec" >}}#arrays). For each field:
- [Integer reply]({{< relref "/develop/reference/protocol-spec" >}}#integers): `-2` if no such field exists in the provided hash key.
- [Integer reply]({{< relref "/develop/reference/protocol-spec" >}}#integers): `-1` if the field exists but has no associated expiration set.
Expand Down
2 changes: 1 addition & 1 deletion content/commands/hpexpire/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,4 @@ One of the following:
* [Simple error reply](../../develop/reference/protocol-spec#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.
- if the provided key exists but is not a hash.
* [Null reply](../../develop/reference/protocol-spec#nulls) if the provided key does not exist.
* Empty [Array reply](../../develop/reference/protocol-spec#arrays) if the provided key does not exist.
2 changes: 1 addition & 1 deletion content/commands/hpexpireat/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,4 @@ One of the following:
* [Simple error reply](../../develop/reference/protocol-spec#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.
- if the provided key exists but is not a hash.
* [Null reply](../../develop/reference/protocol-spec#nulls) if the provided key does not exist.
* Empty [Array reply](../../develop/reference/protocol-spec#arrays) if the provided key does not exist.
2 changes: 1 addition & 1 deletion content/commands/hpexpiretime/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ redis> HPEXPIRETIME mykey FIELDS 2 field1 field2
## RESP2/RESP3 replies

One of the following:
* [Null reply]({{< relref "/develop/reference/protocol-spec" >}}#nulls) if the provided key does not exists.
* Empty [Array reply]({{< relref "/develop/reference/protocol-spec" >}}#arrays) if the provided key does not exist.
* [Array reply]({{< relref "/develop/reference/protocol-spec" >}}#arrays). For each field:
- [Integer reply]({{< relref "/develop/reference/protocol-spec" >}}#integers): `-2` if no such field exists in the provided hash key.
- [Integer reply]({{< relref "/develop/reference/protocol-spec" >}}#integers): `-1` if the field exists but has no associated expiration set.
Expand Down
2 changes: 1 addition & 1 deletion content/commands/hpttl/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ redis> HPTTL mykey FIELDS 3 field1 field2 field3
## RESP2/RESP3 replies

One of the following:
* [Null reply]({{< relref "/develop/reference/protocol-spec" >}}#nulls) if the provided key does not exists.
* Empty [Array reply]({{< relref "/develop/reference/protocol-spec" >}}#arrays) if the provided key does not exist.
* [Array reply]({{< relref "/develop/reference/protocol-spec" >}}#arrays). For each field:
- [Integer reply]({{< relref "/develop/reference/protocol-spec" >}}#integers): `-2` if no such field exists in the provided hash key.
- [Integer reply]({{< relref "/develop/reference/protocol-spec" >}}#integers): `-1` if the field exists but has no associated expiration set.
Expand Down
Loading

0 comments on commit 7272483

Please sign in to comment.