コード例 #1
0
        public long HExists(string key, string field)
        {
            if (!this.IsValidField(field))
            {
                return(0L);
            }

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

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