db_condition

Versions
7
db_condition($conjunction)

Returns a new DatabaseCondition, set to the specified conjunction.

Parameters

The conjunction (AND, OR, XOR, etc.) to use on conditions.

Related topics

▾ 1 function calls db_condition()

system_update_7003 in modules/system/system.install
Update {blocked_ips} with valid IP addresses from {access}.

Code

includes/database/query.inc, line 1377

<?php
function db_condition($conjunction) {
  return new DatabaseCondition($conjunction);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.