hset abstract method

  1. @Deprecated('Use [hSet] instead. This method will be removed in v4.0.0.')
Future<int> hset(
  1. String key,
  2. String field,
  3. String value
)

Sets multiple field-value pairs in the hash stored at key. Returns the number of fields that were added. Usage:

hset('user:1', 'name', 'richard');

Delegate single-field call to the multi-field API.

Implementation

@Deprecated('Use [hSet] instead. This method will be removed in v4.0.0.')
Future<int> hset(String key, String field, String value);