private async Task <long> HExistsCoreAsync(byte[] key, byte[] field) { using var connection = new RedisConnection(_connectionSettings); var command = new HExists(connection.GetStream(), key, field); return(await command.ExecuteAsync()); }
private long HExistsCore(byte[] key, byte[] field) { using var connection = new RedisConnection(_connectionSettings); var command = new HExists(connection.GetStream(), key, field); return(command.Execute()); }