hdel method

Future<int> hdel(
  1. String key,
  2. List<String> fields
)

------------------------------ Hash ------------------------------ hdel

Implementation

/// hdel
Future<int> hdel(String key, List<String> fields) async {
  Object result = await _runWithRetryNew(() async {
    return (await RespCommandsTier1(_client!).hdel(key, fields));
  });

  if (result is RespType2<dynamic>) {
    return result.toInteger().payload;
  }

  return (result as RespType3<dynamic>).toInteger().payload;
}