Esempio n. 1
0
 public Task <long> SortedSetRemoveRangeByValueAsync(string key, string min, string max, RedisExclude exclude = RedisExclude.None)
 {
     return(Db.SortedSetRemoveRangeByValueAsync(key, min, max, exclude.ToExclude()));
 }
Esempio n. 2
0
 public async Task <string[]> SortedSetRangeByValueAsync(string key, string min = null, string max = null, RedisExclude exclude = RedisExclude.None, long skip = 0, long take = -1)
 {
     return((await Db.SortedSetRangeByValueAsync(key, min, max, exclude.ToExclude(), skip, take)).ToStringArray());
 }
Esempio n. 3
0
 public Task <long> SortedSetRemoveRangeByScoreAsync(string key, double start, double stop, RedisExclude exclude = RedisExclude.None)
 {
     return(Db.SortedSetRemoveRangeByScoreAsync(key, start, stop, exclude.ToExclude()));
 }
Esempio n. 4
0
 public string[] SortedSetRangeByValue(string key, string min = null, string max = null, RedisExclude exclude = RedisExclude.None, long skip = 0, long take = -1)
 {
     return(Db.SortedSetRangeByValue(key, min, max, exclude.ToExclude(), skip, take).ToStringArray());
 }
Esempio n. 5
0
 public async Task <KeyValuePair <string, double>[]> SortedSetRangeByScoreWithScoresAsync(string key, double start = double.NegativeInfinity, double stop = double.PositiveInfinity, RedisExclude exclude = RedisExclude.None, RedisOrder order = RedisOrder.Ascending, long skip = 0, long take = -1)
 {
     return((await Db.SortedSetRangeByScoreWithScoresAsync(key, start, stop, exclude.ToExclude(), order.ToOrder(), skip, take)).ToSortedPairs());
 }
Esempio n. 6
0
 public string[] SortedSetRangeByScore(string key, double start = double.NegativeInfinity, double stop = double.PositiveInfinity, RedisExclude exclude = RedisExclude.None, RedisOrder order = RedisOrder.Ascending, long skip = 0, long take = -1)
 {
     return(Db.SortedSetRangeByScore(key, start, stop, exclude.ToExclude(), order.ToOrder(), skip, take).ToStringArray());
 }
Esempio n. 7
0
 public long SortedSetLengthByValue(string key, string min, string max, RedisExclude exclude = RedisExclude.None)
 {
     return(Db.SortedSetLengthByValue(key, min, max, exclude.ToExclude()));
 }
Esempio n. 8
0
 public Task <long> SortedSetLengthAsync(string key, double min = double.NegativeInfinity, double max = double.PositiveInfinity, RedisExclude exclude = RedisExclude.None)
 {
     return(Db.SortedSetLengthAsync(key, min, max, exclude.ToExclude()));
 }