class Mongo::Protocol::Update

MongoDB Wire protocol Update message.

This is a client request message that is sent to the server in order to update documents matching the provided query.

The default is to update a single document. In order to update many at a time users should set the :multi_update flag for the update.

If an upsert (update or insert) is desired, users can set the :upsert flag in order to indicate they would like to insert the merged selector and update if no document matching the update query currently exists.

@api semipublic