Available since: 6.2.0
Time complexity: O(log(N)+M) with N being the number of elements in the sorted set and M the number of elements stored into the destination key.
ACL categories:
@write
@sortedset
@slow
This command is like ZRANGE
, but stores the result in the <dst>
destination key.
Integer reply: the number of elements in the resulting sorted set.