Kitura-redis icon indicating copy to clipboard operation
Kitura-redis copied to clipboard

ZRANGEBYSCORE does not use key -> illegal cmd.

Open icyield opened this issue 5 years ago • 0 comments

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) } }

icyield avatar Oct 11 '19 13:10 icyield