diff --git a/commands/sdiffstore.md b/commands/sdiffstore.md index 23cd59153..e95d8f5c5 100644 --- a/commands/sdiffstore.md +++ b/commands/sdiffstore.md @@ -1,7 +1,7 @@ This command is equal to `SDIFF`, but instead of returning the resulting set, it is stored in `destination`. -If `destination` already exists, it is overwritten. +If `destination` already exists, it is overwritten (when the difference is nonempty) or deleted (when the difference is empty). @examples diff --git a/commands/sinterstore.md b/commands/sinterstore.md index e3e712f03..10ced5959 100644 --- a/commands/sinterstore.md +++ b/commands/sinterstore.md @@ -1,7 +1,7 @@ This command is equal to `SINTER`, but instead of returning the resulting set, it is stored in `destination`. -If `destination` already exists, it is overwritten. +If `destination` already exists, it is overwritten (when the intersection is nonempty) or deleted (when the intersection is empty). @examples diff --git a/commands/zdiffstore.md b/commands/zdiffstore.md index d9d2e2cac..006f022ed 100644 --- a/commands/zdiffstore.md +++ b/commands/zdiffstore.md @@ -4,7 +4,7 @@ specified by `numkeys`. Keys that do not exist are considered to be empty sets. -If `destination` already exists, it is overwritten. +If `destination` already exists, it is overwritten (when the difference is nonempty) or deleted (when the difference is empty). @examples diff --git a/commands/zinterstore.md b/commands/zinterstore.md index 1d386aa3a..ff31d2a0d 100644 --- a/commands/zinterstore.md +++ b/commands/zinterstore.md @@ -11,7 +11,7 @@ be equal to the number of input sorted sets. For a description of the `WEIGHTS` and `AGGREGATE` options, see `ZUNIONSTORE`. -If `destination` already exists, it is overwritten. +If `destination` already exists, it is overwritten (when the intersection is nonempty) or deleted (when the intersection is empty). @examples