Skip navigation
Help

db_or

7 database.inc db_or()

Returns a new DatabaseCondition, set to "OR" all conditions together.

Return value

DatabaseCondition

Related topics

31 calls to db_or()

File

drupal/includes/database/database.inc, line 2631
Core systems for the database layer.

Code

function db_or() {
  return new DatabaseCondition('OR');
}