MergeQuery::$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

includes/database/query.inc, line 1342

Class

MergeQuery
General class for an abstracted MERGE query operation.

Code

protected $expressionFields = array();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.