1 select.inc public SelectQuery::forUpdate($set = TRUE)

Implements QueryExtendableInterface::forUpdate().

Return value

SelectQuery:

Overrides SelectQueryInterface::forUpdate

File

core/includes/database/select.inc, line 1302

Class

SelectQuery
Query builder for SELECT statements.

Code

public function forUpdate($set = TRUE) {
  if (isset($set)) {
    $this->forUpdate = $set;
  }
  return $this;
}