findAndUpdate() 공개 메소드

public findAndUpdate ( $documentName = null )
예제 #1
0
 /**
  * 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);
 }