updateMany method

void updateMany(
  1. UpdateManyStatement updateRequest
)

updateMany updates all documents in the collection that match the filter.

Implementation

void updateMany(UpdateManyStatement updateRequest) =>
    _setCommand(UpdateManyOperation(collection!, updateRequest));