db_condition($conjunction)
drupal/includes/database/query.inc, line 1396
Returns a new DatabaseCondition, set to the specified conjunction.
Internal API function call. The db_and(), db_or(), and db_xor() functions are preferred.
$conjunction The conjunction to use for query conditions (AND, OR or XOR).
DatabaseCondition
| Name | Description |
|---|---|
| Database abstraction layer | Allow the use of different database servers using the same code base. |
function db_condition($conjunction) {
return new DatabaseCondition($conjunction);
}