Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Connection.php

function Connection::merge

Prepares and returns a MERGE query object.

Parameters

string $table: The table to use for the merge statement.

array $options: (optional) An array of options on the query.

Return value

\Drupal\Core\Database\Query\Merge A new Merge query object.

See also

\Drupal\Core\Database\Query\Merge

File

core/lib/Drupal/Core/Database/Connection.php, line 862

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

public function merge($table, array $options = []) {
    return new Merge($this, $table, $options);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal