hdel method

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

Removes the specified fields from the hash stored at key. Specified fields that do not exist within this hash are ignored. If key does not exist, it is treated as an empty hash and this command returns 0.

The number of fields that were removed from the hash, not including specified but non existing fields.

Implementation

Future<int> hdel(String key, List<String> fields) async {
  return (await tier1.hdel(key, fields)).toInteger().payload;
}