You are here

public function Merge::execute in Drupal driver for SQL Server and SQL Azure 8

Same name and namespace in other branches
  1. 8.2 drivers/lib/Drupal/Driver/Database/sqlsrv/Merge.php \Drupal\Driver\Database\sqlsrv\Merge::execute()
  2. 3.0.x drivers/lib/Drupal/Driver/Database/sqlsrv/Merge.php \Drupal\Driver\Database\sqlsrv\Merge::execute()

Runs the query against the database.

Return value

\Drupal\Core\Database\StatementInterface|null A prepared statement, or NULL if the query is not valid.

Overrides Merge::execute

File

drivers/lib/Drupal/Driver/Database/sqlsrv/Merge.php, line 29
Definition of Drupal\Driver\Database\sqlsrv\Merge

Class

Merge

Namespace

Drupal\Driver\Database\sqlsrv

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