update() public method

public update ( $documentName = null )
Beispiel #1
0
 /**
  * {@inheritdoc}
  */
 protected function configureQueryBuilder(Builder $queryBuilder)
 {
     $queryBuilder->update();
 }
 /**
  * Change the query type to update and optionally set and change the class being queried.
  *
  * @param string $documentName
  * @return QueryProxy this instance
  */
 public function update($documentName = null)
 {
     $this->queryChanged = true;
     return parent::update($documentName);
 }