private async Task <long> HDelCoreAsync(byte[] key, IEnumerable <byte[]> fields) { using var connection = new RedisConnection(_connectionSettings); var command = new HDel(connection.GetStream(), key, fields); return(await command.ExecuteAsync()); }
private long HDelCore(byte[] key, IEnumerable <byte[]> fields) { using var connection = new RedisConnection(_connectionSettings); var command = new HDel(connection.GetStream(), key, fields); return(command.Execute()); }