function db_condition
Returns a new DatabaseCondition, set to the specified conjunction.
Internal API function call. The db_and(), db_or(), and db_xor() functions are preferred.
Parameters
$conjunction: The conjunction to use for query conditions (AND, OR or XOR).
Return value
Related topics
1 call to db_condition()
- system_update_7003 in drupal-7.x/
modules/ system/ system.install - Update {blocked_ips} with valid IP addresses from {access}.
Archivo
- drupal-7.x/
includes/ database/ database.inc, line 2694 - Core systems for the database layer.
Código
function db_condition($conjunction) {
return new DatabaseCondition($conjunction);
}