updateMany method

Future<void> updateMany(
  1. Map<String, dynamic> query,
  2. T updates
)

Implementation

Future<void> updateMany(Map<String, dynamic> query, T updates) async {
  final response = await _harnCollection.updateMany(query, updates.toMap());
  harnLog.register({
    "updateMany": {"query": query, "updates": updates}
  });
  return response;
}