updateRecordInBulk method

Future<XRPCResponse<EmptyData>> updateRecordInBulk({
  1. required List<UpdateAction> actions,
  2. bool? validate,
  3. String? swapCommitCid,
})

Implementation

Future<core.XRPCResponse<core.EmptyData>> updateRecordInBulk({
  required List<UpdateAction> actions,
  bool? validate,
  String? swapCommitCid,
}) async =>
    await applyWrites(
      actions: actions.map((e) => BatchAction.update(data: e)).toList(),
      validate: validate,
      swapCommitCid: swapCommitCid,
    );