You are here

public function MergeQuery_sqlsrv::execute in Drupal driver for SQL Server and SQL Azure 7

Same name and namespace in other branches
  1. 7.3 sqlsrv/query.inc \MergeQuery_sqlsrv::execute()
  2. 7.2 sqlsrv/query.inc \MergeQuery_sqlsrv::execute()

Runs the query against the database.

Overrides MergeQuery::execute

File

sqlsrv/query.inc, line 322

Class

MergeQuery_sqlsrv
SQL Server-specific implementation of the MERGE operation.

Code

public function execute() {

  // We don't need INSERT or UPDATE queries to trigger additional transactions.
  $this->queryOptions['sqlsrv_skip_transactions'] = TRUE;
  return parent::execute();
}