(self, update)
Update one document matching the selector.

        :Parameters:
          - `update` (dict): the update operations to apply
Update one document matching the selector.
Update one document matching the selector .
def update_one(self, update):
        """Update one document matching the selector.

        :Parameters:
          - `update` (dict): the update operations to apply
        """
        self.__bulk.add_update(self.__selector,
                               update, multi=False, upsert=True,
                               collation=self.__collation)
def update_one ( self , update ) : self . __bulk . add_update ( self . __selector , update , multi = False , upsert = True , collation = self . __collation )