You are here

public function MergeQuery::compile in Drupal 7

Implements QueryConditionInterface::compile().

Overrides QueryConditionInterface::compile

File

includes/database/query.inc, line 1585
Non-specific Database query code. Used by all engines.

Class

MergeQuery
General class for an abstracted MERGE query operation.

Code

public function compile(DatabaseConnection $connection, QueryPlaceholderInterface $queryPlaceholder) {
  return $this->condition
    ->compile($connection, $queryPlaceholder);
}