SSCAN

Syntax
SSCAN key cursor [MATCH pattern] [COUNT count]
Available since:
2.8.0
Time complexity:
O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection.
ACL categories:
@read, @set, @slow,

请参阅SCAN以获取SSCAN的文档。

RESP2/RESP3 回复

Array reply: 具体来说,一个包含两个元素的数组:

  • 第一个元素是一个Bulk string reply,表示一个无符号的64位数字,即游标。
  • 第二个元素是一个数组回复,包含扫描成员的名称。

RATE THIS PAGE
Back to top ↑