update() public method
Updates the rows, which matches given criteria by given data. Note: for "multi" mode Mongo requires explicit strategy "$set" or "$inc" to be specified for the "newData". If no strategy is passed "$set" will be used.
public integer|boolean update ( $condition, $newData, $options = [] )$condition array
Description of the objects to update. $newData array
The object with which to update the matching records. $options array
List of options in format: optionName =&g