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

Implements QueryExtendableInterface::forUpdate().

Return value

SelectQuery:

Overrides SelectQueryInterface::forUpdate

File

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;
}