LREM - 移除元素

Request/Response
根据参数 count 的值,移除列表中与参数 value 相等的元素。

Basic Info

Mode
Request/Response
Endianness
big-endian
Charset
utf8
Newline
default

Communicator

Connection Name
默认服务器

Request Parameter

Format
raw
Escape
No
Newline Style
CRLF
Charset
utf8
Text Template raw
*4
$4
LREM
${{lkey.length}}
{{lkey}}
${{count.length}}
{{count}}
${{value.length}}
{{value}}

Template Variables

lkey
列表键名 lkey001
count
> 0:从表头开始向表尾搜索,移除与 value 相等的元素,数量为; count < 0:从表尾开始向表头搜索,移除与 value 相等的元素,数量为 count 的绝对值 ; = 0:移除表中所有与 value 相等的值 2
value
要删除的元素值 A

Response Parser

Format
raw
Line Wrapping
No
Append Newline
No
Show Timestamp
No
Clear on Execute
No
Scroll to Bottom
No