You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// - destination: The key of the new sorted set from the result.
809
808
/// - sources: The list of sorted set keys to treat as the source of the union.
810
809
/// - weights: The multiplying factor to apply to the corresponding `sources` key based on index of the two parameters.
811
-
/// - aggregateMethod: The method of aggregating the values of the union. If one isn't specified, Redis will default to `.sum`.
810
+
/// - aggregate: The method of aggregating the values of the union. If one isn't specified, Redis will default to `.sum`.
812
811
/// - Returns: The number of elements in the new sorted set.
813
812
publicfunc zunionstore(
814
813
as destination:RedisKey,
@@ -827,7 +826,7 @@ extension RedisClient {
827
826
/// - destination: The key of the new sorted set from the result.
828
827
/// - sources: The list of sorted set keys to treat as the source of the intersection.
829
828
/// - weights: The multiplying factor to apply to the corresponding `sources` key based on index of the two parameters.
830
-
/// - aggregateMethod: The method of aggregating the values of the intersection. If one isn't specified, Redis will default to `.sum`.
829
+
/// - aggregate: The method of aggregating the values of the intersection. If one isn't specified, Redis will default to `.sum`.
831
830
/// - Returns: The number of elements in the new sorted set.
832
831
publicfunc zinterstore(
833
832
as destination:RedisKey,
@@ -884,6 +883,7 @@ extension RedisClient {
884
883
/// - key: The key of the SortedSet
885
884
/// - firstIndex: The index of the first element to include in the range of elements returned.
886
885
/// - lastIndex: The index of the last element to include in the range of elements returned.
886
+
/// - includeScores: If to include scores in result value.
887
887
/// - Returns: An array of elements found within the range specified.
888
888
publicfunc zrange(
889
889
from key:RedisKey,
@@ -927,6 +927,7 @@ extension RedisClient {
927
927
/// - Parameters:
928
928
/// - key: The key of the SortedSet to return elements from.
929
929
/// - range: The range of inclusive indices of elements to get.
930
+
/// - includeScores: If to include scores in result value.
930
931
/// - Returns: An array of elements found within the range specified.
931
932
publicfunc zrange(
932
933
from key:RedisKey,
@@ -974,6 +975,7 @@ extension RedisClient {
974
975
/// - Parameters:
975
976
/// - key: The key of the SortedSet to return elements from.
976
977
/// - range: The range of indices (inclusive lower, exclusive upper) elements to get.
978
+
/// - includeScores: If to include scores in result value.
977
979
/// - Returns: An array of elements found within the range specified.
978
980
publicfunc zrange(
979
981
from key:RedisKey,
@@ -1007,6 +1009,7 @@ extension RedisClient {
1007
1009
/// - Parameters:
1008
1010
/// - key: The key of the SortedSet to return elements from.
1009
1011
/// - index: The index of the first element that will be in the returned values.
1012
+
/// - includeScores: If to include scores in result value.
1010
1013
/// - Returns: An array of elements from the SortedSet between the index and the end.
1011
1014
publicfunc zrange(
1012
1015
from key:RedisKey,
@@ -1035,6 +1038,7 @@ extension RedisClient {
1035
1038
/// - Parameters:
1036
1039
/// - key: The key of the SortedSet to return elements from.
1037
1040
/// - index: The index of the last element that will be in the returned values.
1041
+
/// - includeScores: If to include scores in result value.
1038
1042
/// - Returns: An array of elements from the start of a SortedSet to the index.
1039
1043
publicfunc zrange(
1040
1044
from key:RedisKey,
@@ -1238,6 +1242,7 @@ extension RedisClient {
1238
1242
/// - Parameters:
1239
1243
/// - key: The key of the SortedSet to return elements from.
1240
1244
/// - index: The index of the last element that will be in the returned values.
1245
+
/// - includeScores: If to include scores in result value.
1241
1246
/// - Returns: An array of elements from the start of a SortedSet to the index.
1242
1247
publicfunc zrevrange(
1243
1248
from key:RedisKey,
@@ -1266,6 +1271,7 @@ extension RedisClient {
1266
1271
/// - Parameters:
1267
1272
/// - key: The key of the SortedSet to return elements from.
1268
1273
/// - index: The index of the last element to not include in the returned values.
1274
+
/// - includeScores: If to include scores in result value.
1269
1275
/// - Returns: An array of elements from the start of the SortedSet and up to the index.
1270
1276
publicfunc zrevrange(
1271
1277
from key:RedisKey,
@@ -1385,7 +1391,7 @@ extension RedisClient {
1385
1391
/// For the inverse, see `zrevrangebyscore(from:withMinimumScoreOf:limitBy:includeScoresInResponse:)`.
1386
1392
/// - Parameters:
1387
1393
/// - key: The key of the SortedSet.
1388
-
/// - range: The minimum score bound an element in the SortedSet should have to be included in the response.
1394
+
/// - minScore: The minimum score bound an element in the SortedSet should have to be included in the response.
1389
1395
/// - limit: The optional offset and count of elements to query.
1390
1396
/// - includeScores: Should the response array contain the elements AND their scores? If `true`, the response array will follow the pattern [Item_1, Score_1, Item_2, ...]
1391
1397
/// - Returns: An array of elements from the SortedSet that were within the range provided, and optionally their scores.
@@ -1411,7 +1417,7 @@ extension RedisClient {
1411
1417
/// For the inverse, see `zrevrangebyscore(from:withMaximumScoreOf:limitBy:includeScoresInResponse:)`.
1412
1418
/// - Parameters:
1413
1419
/// - key: The key of the SortedSet.
1414
-
/// - range: The maximum score bound an element in the SortedSet should have to be included in the response.
1420
+
/// - maxScore: The maximum score bound an element in the SortedSet should have to be included in the response.
1415
1421
/// - limit: The optional offset and count of elements to query.
1416
1422
/// - includeScores: Should the response array contain the elements AND their scores? If `true`, the response array will follow the pattern [Item_1, Score_1, Item_2, ...]
1417
1423
/// - Returns: An array of elements from the SortedSet that were within the range provided, and optionally their scores.
@@ -1516,8 +1522,8 @@ extension RedisClient {
1516
1522
/// For the inverse, see `zrangebyscore(from:withMinimumScoreOf:limitBy:includeScoresInResponse:)`.
1517
1523
/// - Parameters:
1518
1524
/// - key: The key of the SortedSet.
1519
-
/// - range: The minimum score bound an element in the SortedSet should have to be included in the response.
1520
-
/// - limit: The optional offset and count of elements to query.
1525
+
/// - limit: The minimum score bound an element in the SortedSet should have to be included in the response.
1526
+
/// - minScore: The minimum score to compare against.
1521
1527
/// - includeScores: Should the response array contain the elements AND their scores? If `true`, the response array will follow the pattern [Item_1, Score_1, Item_2, ...]
1522
1528
/// - Returns: An array of elements from the SortedSet that were within the range provided, and optionally their scores.
1523
1529
publicfunc zrevrangebyscore(
@@ -1542,8 +1548,8 @@ extension RedisClient {
1542
1548
/// For the inverse, see `zrangebyscore(from:withMaximumScoreOf:limitBy:includeScoresInResponse:)`.
1543
1549
/// - Parameters:
1544
1550
/// - key: The key of the SortedSet.
1545
-
/// - range: The maximum score bound an element in the SortedSet should have to be included in the response.
1546
-
/// - limit: The optional offset and count of elements to query.
1551
+
/// - maxScore: The max score to compare against.
1552
+
/// - limit: The maximum score bound an element in the SortedSet should have to be included in the response.
1547
1553
/// - includeScores: Should the response array contain the elements AND their scores? If `true`, the response array will follow the pattern [Item_1, Score_1, Item_2, ...]
1548
1554
/// - Returns: An array of elements from the SortedSet that were within the range provided, and optionally their scores.
1549
1555
publicfunc zrevrangebyscore(
@@ -1605,7 +1611,7 @@ extension RedisClient {
1605
1611
/// - Parameters:
1606
1612
/// - key: The key of the SortedSet that will be counted.
1607
1613
/// - range: The min and max value bounds for filtering elements by.
1608
-
/// - limitBy: The optional offset and count of elements to query.
1614
+
/// - limit: The optional offset and count of elements to query.
1609
1615
/// - Returns: An array of elements from the SortedSet that were within the range provided.
0 commit comments