You are here

Merge.php in Drupal driver for SQL Server and SQL Azure 3.1.x

File

src/Driver/Database/sqlsrv/Merge.php
View source
<?php

namespace Drupal\sqlsrv\Driver\Database\sqlsrv;

use Drupal\Core\Database\Query\Merge as QueryMerge;

/**
 * Sqlsvr implementation of \Drupal\Core\Database\Query\Merge.
 */
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();
  }

}

Classes

Namesort descending Description
Merge Sqlsvr implementation of \Drupal\Core\Database\Query\Merge.