diff --git a/website/docs/commands/api-compatibility.md b/website/docs/commands/api-compatibility.md index c6efcc5026..467cbdbcbd 100644 --- a/website/docs/commands/api-compatibility.md +++ b/website/docs/commands/api-compatibility.md @@ -217,7 +217,7 @@ Note that this list is subject to change as we continue to expand our API comman | | [LINSERT](data-structures.md#linsert) | ➕ | | | | [LLEN](data-structures.md#llen) | ➕ | | | | [LMOVE](data-structures.md#lmove) | ➕ | | -| | LMPOP | ➖ | | +| | [LMPOP](data-structures.md#lmpop) | ➕ | | | | [LPOP](data-structures.md#lpop) | ➕ | | | | [LPOS](data-structures.md#lpos) | ➕ | | | | [LPUSH](data-structures.md#lpush) | ➕ | | @@ -304,7 +304,7 @@ Note that this list is subject to change as we continue to expand our API comman | | [SISMEMBER](data-structures.md#sismember) | ➕ | | | | [SMEMBERS](data-structures.md#smembers) | ➕ | | | | SMISMEMBER | ➖ | | -| | SMOVE | ➖ | | +| | [SMOVE](data-structures.md#smove) | ➕ | | | | [SPOP](data-structures.md#spop) | ➕ | | | | SPUBLISH | ➖ | | | | [SRANDMEMBER](data-structures.md#srandmember) | ➕ | | diff --git a/website/docs/commands/data-structures.md b/website/docs/commands/data-structures.md index 2929978b60..e2aae7d1fb 100644 --- a/website/docs/commands/data-structures.md +++ b/website/docs/commands/data-structures.md @@ -293,7 +293,7 @@ Returns the length of the list stored at key. If key does not exist, it is inter --- -### LMOVE {#lmove} +### LMOVE #### Syntax @@ -307,6 +307,18 @@ This command comes in place of the now deprecated RPOPLPUSH. Doing LMOVE RIGHT L --- +### LMPOP + +#### Syntax + +```bash + LMPOP numkeys key [key ...] [COUNT count] +``` + +Pops one or more elements from the first non-empty list key from the list of provided key names. + +--- + ### LPOP #### Syntax @@ -511,6 +523,18 @@ Returns all the members of the set value stored at **key**. --- +### SMOVE + +#### Syntax + +```bash + SMOVE source destination member +``` + +Move member from the set at source to the set at destination. This operation is atomic. In every given moment the element will appear to be a member of source or destination for other clients. + +--- + ### SPOP #### Syntax