function SelectQuery::forUpdate

Overrides SelectQueryInterface::forUpdate

1 method overrides SelectQuery::forUpdate()
SelectQuery_sqlite::forUpdate in includes/database/sqlite/select.inc
Add FOR UPDATE to the query.

File

includes/database/select.inc, line 1198

Class

SelectQuery
Query builder for SELECT statements.

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.