Back to Redis

SSCAN

content/commands/sscan.md

latest1.4 KB
Original Source

See [SCAN]({{< relref "/commands/scan" >}}) for SSCAN documentation.

Redis Software and Redis Cloud compatibility

| Redis Software | Redis Cloud | <span style="min-width: 9em; display: table-cell">Notes</span> | |:----------------------|:-----------------|:------| | <span title="Supported">✅ Standard</span> <span title="Supported"><nobr>✅ Active-Active</nobr></span> | <span title="Supported">✅ Standard</span> <span title="Supported"><nobr>✅ Active-Active</nobr></span> | |

Return information

{{< multitabs id="sscan-return-info" tab1="RESP2" tab2="RESP3" >}}

Array reply: specifically, an array with two elements:

  • The first element is a Bulk string reply that represents an unsigned 64-bit number, the cursor.
  • The second element is an Array reply with the names of scanned members.

-tab-sep-

Array reply: specifically, an array with two elements:

  • The first element is a Bulk string reply that represents an unsigned 64-bit number, the cursor.
  • The second element is an Array reply with the names of scanned members.

{{< /multitabs >}}