function db_or

db_or()

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

Return value

DatabaseCondition

Related topics

File

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

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!database!database.inc/function/db_or/7.x