You are lucky because zrange does not take ratings, but indices. 0 is the first index, and -1 will be interpreted as the last index:
zrange key 0 -1
To get the range of scores, you would instead call zrangebyscore - where -inf and +inf can be used to denote negative and positive infinity, respectively, as Didier La Spezia notes in his comment:
zrangebyscore key -inf +inf
Linus Gustav Larsson Thiel Jul 16 2018-12-12T00: 00Z
source share