Method: Redis::Commands::SortedSets#zscan
- Defined in:
- lib/redis/commands/sorted_sets.rb
#zscan(key, cursor, **options) ⇒ String, Array<[String, Float]>
Scan a sorted set
See the Redis Server ZSCAN documentation for further details
856 857 858 859 860 |
# File 'lib/redis/commands/sorted_sets.rb', line 856 def zscan(key, cursor, **) _scan(:zscan, cursor, [key], **) do |reply| [reply[0], FloatifyPairs.call(reply[1])] end end |