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

Breadcrumb

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

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> => [
 '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 116

Class

Merge
General class for an abstracted MERGE query operation.

Namespace

Drupal\Core\Database\Query

Code

protected $expressionFields = [];
RSS feed
Powered by Drupal