findAndUpdate() public méthode

public findAndUpdate ( $documentName = null )
 /**
  * Sets a flag for the query to be executed as a findAndUpdate query.
  * Optionally sets the document name for the query
  *
  * @param string $documentName
  * @return QueryProxy this instance
  */
 public function findAndUpdate($documentName = null)
 {
     $this->queryChanged = true;
     return parent::findAndUpdate($documentName);
 }