Merge.php in Drupal driver for SQL Server and SQL Azure 8
Same filename and directory in other branches
Definition of Drupal\Driver\Database\sqlsrv\Merge
Namespace
Drupal\Driver\Database\sqlsrvFile
drivers/lib/Drupal/Driver/Database/sqlsrv/Merge.phpView source
<?php
/**
* @file
* Definition of Drupal\Driver\Database\sqlsrv\Merge
*/
namespace Drupal\Driver\Database\sqlsrv;
use Drupal\Core\Database\Query\Merge as QueryMerge;
use Drupal\Driver\Database\sqlsrv\Utils as DatabaseUtils;
use Drupal\Driver\Database\sqlsrv\TransactionIsolationLevel as DatabaseTransactionIsolationLevel;
use Drupal\Driver\Database\sqlsrv\TransactionScopeOption as DatabaseTransactionScopeOption;
use Drupal\Driver\Database\sqlsrv\TransactionSettings as DatabaseTransactionSettings;
use Drupal\Core\Database\Query\InvalidMergeQueryException;
use PDO;
use Exception;
use PDOStatement;
class Merge extends QueryMerge {
/**
* {@inheritdoc}
*/
public function execute() {
// We don't need INSERT or UPDATE queries to trigger additional transactions.
$this->queryOptions['sqlsrv_skip_transactions'] = TRUE;
return parent::execute();
}
}