findAndUpdate() 공개 메소드

Change the query type to findAndUpdate (uses the findAndModify command).
또한 보기: http://docs.mongodb.org/manual/reference/command/findAndModify/
public findAndUpdate ( )
예제 #1
0
 /**
  * @param string $documentName
  * @return Builder
  */
 public function findAndUpdate($documentName = null)
 {
     $this->setDocumentName($documentName);
     parent::findAndUpdate();
     return $this;
 }