updateRecordInBulk method

Future<XRPCResponse<ApplyWritesOutput>> updateRecordInBulk({
  1. String? repo,
  2. required List<Update> writes,
  3. bool? validate,
  4. String? swapCommit,
  5. Map<String, String>? $headers,
  6. PostClient? $client,
})

Implementation

Future<XRPCResponse<ApplyWritesOutput>> updateRecordInBulk({
  String? repo,
  required List<Update> writes,
  bool? validate,
  String? swapCommit,
  Map<String, String>? $headers,
  PostClient? $client,
}) async =>
    await applyWrites(
      repo: repo,
      writes: writes.map((e) => UApplyWritesWrite.update(data: e)).toList(),
      validate: validate,
      swapCommit: swapCommit,
      $headers: $headers,
      $client: $client,
    );