jsonSet method

Future<void> jsonSet({
  1. required String key,
  2. String path = '\$',
  3. required dynamic value,
  4. bool nx = false,
  5. bool xx = false,
})

jsonSet

Implementation

Future<void> jsonSet({
  required String key,
  String path = '\$',
  required dynamic value,
  bool nx = false,
  bool xx = false,
}) async {
  await _runWithRetryNew(() async {
    (await RespCommandsTier1(_client!)
        .jsonSet(key: key, path: path, value: value, nx: nx, xx: xx));
  });
  return null;
}