Skip to content

Commit 1530a96

Browse files
committed
fix docs
1 parent 0e28996 commit 1530a96

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Sources/RediStack/Commands/SortedSetCommands.swift

+5
Original file line numberDiff line numberDiff line change
@@ -1063,6 +1063,7 @@ extension RedisClient {
10631063
/// - Parameters:
10641064
/// - key: The key of the SortedSet to return elements from.
10651065
/// - index: The index of the last element to not include in the returned values.
1066+
/// - includeScores: If to include scores in the response.
10661067
/// - Returns: An array of elements from the start of the SortedSet and up to the index.
10671068
public func zrange(
10681069
from key: RedisKey,
@@ -1082,6 +1083,7 @@ extension RedisClient {
10821083
/// - key: The key of the SortedSet
10831084
/// - firstIndex: The index of the first element to include in the range of elements returned.
10841085
/// - lastIndex: The index of the last element to include in the range of elements returned.
1086+
/// - includeScores: If to include scores in the response.
10851087
/// - Returns: An array of elements found within the range specified.
10861088
public func zrevrange(
10871089
from key: RedisKey,
@@ -1125,6 +1127,7 @@ extension RedisClient {
11251127
/// - Parameters:
11261128
/// - key: The key of the SortedSet to return elements from.
11271129
/// - range: The range of inclusive indices of elements to get.
1130+
/// - includeScores: If to include scores in the response.
11281131
/// - Returns: An array of elements found within the range specified.
11291132
public func zrevrange(
11301133
from key: RedisKey,
@@ -1172,6 +1175,7 @@ extension RedisClient {
11721175
/// - Parameters:
11731176
/// - key: The key of the SortedSet to return elements from.
11741177
/// - range: The range of indices (inclusive lower, exclusive upper) elements to get.
1178+
/// - includeScores: If to include scores in the response.
11751179
/// - Returns: An array of elements found within the range specified.
11761180
public func zrevrange(
11771181
from key: RedisKey,
@@ -1205,6 +1209,7 @@ extension RedisClient {
12051209
/// - Parameters:
12061210
/// - key: The key of the SortedSet to return elements from.
12071211
/// - index: The index of the first element that will be in the returned values.
1212+
/// - includeScores: If to include scores in the response.
12081213
/// - Returns: An array of elements from the SortedSet between the index and the end.
12091214
public func zrevrange(
12101215
from key: RedisKey,

0 commit comments

Comments
 (0)