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
/// Return a range of members in a sorted set, by score.
///
/// - Parameter key: The key.
/// - Parameter min: The minimum score to return from the set.
/// - Parameter max: The maximum score to return from the set.
/// - Parameter callback: The callback function, list of elements in the specified score range
/// (optionally their scores)
/// NSError will be non-nil if an error occurred.
public func zrangebyscore(_ key: String, min: String, max: String, callback: ([RedisString?]?, NSError?) -> Void) {
issueCommand("ZRANGEBYSCORE", min, max) { (response: RedisResponse) in
self.redisStringArrayResponseHandler(response, callback: callback)
}
}
The text was updated successfully, but these errors were encountered:
ZRANGEBYSCORE does not use key -> illegal cmd.
/// Return a range of members in a sorted set, by score.
///
/// - Parameter key: The key.
/// - Parameter min: The minimum score to return from the set.
/// - Parameter max: The maximum score to return from the set.
/// - Parameter callback: The callback function, list of elements in the specified score range
/// (optionally their scores)
/// NSError will be non-nil if an error occurred.
public func zrangebyscore(_ key: String, min: String, max: String, callback: ([RedisString?]?, NSError?) -> Void) {
issueCommand("ZRANGEBYSCORE", min, max) { (response: RedisResponse) in
self.redisStringArrayResponseHandler(response, callback: callback)
}
}
The text was updated successfully, but these errors were encountered: