public function UpdateQuery::compile in Drupal 7
Implements QueryConditionInterface::compile().
Overrides QueryConditionInterface::compile
File
- includes/
database/ query.inc, line 1093 - Non-specific Database query code. Used by all engines.
Class
- UpdateQuery
- General class for an abstracted UPDATE operation.
Code
public function compile(DatabaseConnection $connection, QueryPlaceholderInterface $queryPlaceholder) {
return $this->condition
->compile($connection, $queryPlaceholder);
}