W3cubDocs

/Drupal 8

protected property 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

protected $expressionFields = array();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Query!Merge.php/property/Merge::expressionFields/8.1.x