You are here

protected property UpdateQuery::$expressionFields in Drupal 7

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 1008
Non-specific Database query code. Used by all engines.

Class

UpdateQuery
General class for an abstracted UPDATE operation.

Code

protected $expressionFields = array();