bulkUpdate method

Future<Map<String, dynamic>> bulkUpdate(
  1. List<Map<String, dynamic>> newValues,
  2. [Map<String, dynamic> opts]
)

Implementation

Future<Map<String, dynamic>> bulkUpdate(
  List<Map<String, dynamic>> newValues, [
  Map<String, dynamic> opts,
]) async {
  final resp = await _connection.request(
    method: 'PATCH',
    path: '/_api/document/$name',
    body: newValues,
    queries: opts,
  );
  return resp.body;
}