예제 #1
0
        //------------------------------------------------------------------
        // HASH SET

        public long HDel(string key, string field)
        {
            if (!this.IsValidField(field))
            {
                return(0L);
            }

            RedisNativeClient client = this.pool.GetRedisClient(key);

            return((client == null) ? 0L : client.HDel(key, UTF8String.ToBytes(field)));
        }