// broken.
// On top of that the database API relies on __toString() which
// does not allow to throw exceptions.
trigger_error('Invalid characters in query operator: ' .
$condition['operator'
], E_USER_ERROR
);
return;
} // For simplicity, we convert all operators to a data structure to
// allow to specify a prefix, a delimiter and such. Find the
// associated data structure by first doing a database specific
// lookup, followed by a specification according to the SQL standard.
$operator =
$connection->
mapConditionOperator($condition['operator'
]);
if (!
isset($operator)) { $operator =
$this->
mapConditionOperator($condition['operator'
]);
} $operator +=
['operator' =>
$condition['operator'
]];
} // Add defaults.
$operator +=
[ 'prefix' => '',
'postfix' => '',
'delimiter' => '',
'use_value' => TRUE,
];