1 database.inc db_or()

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

Return value

DatabaseCondition

Related topics

File

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

Code

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