Merge::$needsUpdate

Flag indicating whether an UPDATE is necessary. Type: bool File core/lib/Drupal/Core/Database/Query/Merge.php, line 122 Class Merge General class for an abstracted MERGE query operation. Namespace Drupal\Core\Database\Query Code protected $needsUpdate = FALSE;

Merge::$insertValues

An array of values to be inserted. Type: string File core/lib/Drupal/Core/Database/Query/Merge.php, line 93 Class Merge General class for an abstracted MERGE query operation. Namespace Drupal\Core\Database\Query Code protected $insertValues = array();

Merge::$insertFields

An array of fields on which to insert. Type: array File core/lib/Drupal/Core/Database/Query/Merge.php, line 77 Class Merge General class for an abstracted MERGE query operation. Namespace Drupal\Core\Database\Query Code protected $insertFields = array();

Merge::$expressionFields

Array of fields to update to an expression in case of a duplicate record. This variable is a nested array in the following format: <some field> => array( 'condition' => <condition to execute, as a string>, 'arguments' => <array of arguments for condition, or NULL for none>, ); Type: array File core/lib/Drupal/Core/Database/Query/Merge.php, line 115 Class Merge General class for an abstracted MERGE query operation. Namespace Drupal\Core\Database\Query Code

Merge::$defaultFields

An array of fields which should be set to their database-defined defaults. Used on INSERT. Type: array File core/lib/Drupal/Core/Database/Query/Merge.php, line 86 Class Merge General class for an abstracted MERGE query operation. Namespace Drupal\Core\Database\Query Code protected $defaultFields = array();

Merge::$conditionTable

The table or subquery to be used for the condition. File core/lib/Drupal/Core/Database/Query/Merge.php, line 70 Class Merge General class for an abstracted MERGE query operation. Namespace Drupal\Core\Database\Query Code protected $conditionTable;

Merge

SQLite implementation of \Drupal\Core\Database\Query\Merge. Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Merge implements ConditionInterface uses QueryConditionTraitclass \Drupal\Core\Database\Driver\sqlite\Merge File core/lib/Drupal/Core/Database/Driver/sqlite/Merge.php, line 10 Namespace Drupal\Core\Database\Driver\sqlite Members Name Modifiers Type Description Merge::$conditionTable protected proper

Merge

PostgreSQL implementation of \Drupal\Core\Database\Query\Merge. Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Merge implements ConditionInterface uses QueryConditionTraitclass \Drupal\Core\Database\Driver\pgsql\Merge File core/lib/Drupal/Core/Database/Driver/pgsql/Merge.php, line 10 Namespace Drupal\Core\Database\Driver\pgsql Members Name Modifiers Type Description Merge::$conditionTable protected prope

Merge

MySQL implementation of \Drupal\Core\Database\Query\Merge. Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Merge implements ConditionInterface uses QueryConditionTraitclass \Drupal\Core\Database\Driver\mysql\Merge File core/lib/Drupal/Core/Database/Driver/mysql/Merge.php, line 10 Namespace Drupal\Core\Database\Driver\mysql Members Name Modifiers Type Description Merge::$conditionTable protected property

Merge

General class for an abstracted MERGE query operation. An ANSI SQL:2003 compatible database would run the following query: MERGE INTO table_name_1 USING table_name_2 ON (condition) WHEN MATCHED THEN UPDATE SET column1 = value1 [, column2 = value2 ...] WHEN NOT MATCHED THEN INSERT (column1 [, column2 ...]) VALUES (value1 [, value2 ... Other databases (most notably MySQL, PostgreSQL and SQLite) will emulate this statement by running a SELECT and then INSERT or UPDATE. By default, the tw