Beispiel #1
0
        public Task <long> SetAddAsync(string key, string[] values)
        {
            if (!values.Any())
            {
                return(Task.FromResult((long)0));
            }

            return(Db.SetAddAsync(key, RedisExtensions.ToRedisValueArray(values)));
        }
Beispiel #2
0
        public long SetAdd(string key, string[] values)
        {
            if (!values.Any())
            {
                return(0);
            }

            return(Db.SetAdd(key, RedisExtensions.ToRedisValueArray(values)));
        }
Beispiel #3
0
 public async Task <long> ListRightPushAsync(string key, string[] values)
 {
     return(await Db.ListRightPushAsync(key, RedisExtensions.ToRedisValueArray(values)));
 }
Beispiel #4
0
 public Task <long> HashDeleteAsync(string key, string[] fields)
 {
     return(Db.HashDeleteAsync(key, RedisExtensions.ToRedisValueArray(fields)));
 }
Beispiel #5
0
 public long ListRightPush(string key, string[] values)
 {
     return(Db.ListRightPush(key, RedisExtensions.ToRedisValueArray(values)));
 }
Beispiel #6
0
 public long HashDelete(string key, string[] fields)
 {
     return(Db.HashDelete(key, RedisExtensions.ToRedisValueArray(fields)));
 }
Beispiel #7
0
 public Task <long> SortedSetRemoveAsync(string key, string[] members)
 {
     return(Db.SortedSetRemoveAsync(key, RedisExtensions.ToRedisValueArray(members)));
 }
Beispiel #8
0
 public long SortedSetRemove(string key, string[] members)
 {
     return(Db.SortedSetRemove(key, RedisExtensions.ToRedisValueArray(members)));
 }
Beispiel #9
0
 public Task <long> SetRemoveAsync(string key, string[] values)
 {
     return(Db.SetRemoveAsync(key, RedisExtensions.ToRedisValueArray(values)));
 }
Beispiel #10
0
 public long SetRemove(string key, string[] values)
 {
     return(Db.SetRemove(key, RedisExtensions.ToRedisValueArray(values)));
 }