function db_or

Same name and namespace in other branches
  1. 8.9.x core/includes/ \db_or()

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

Return value


Related topics

9 calls to db_or()
hook_query_TAG_alter in modules/system/system.api.php
Perform alterations to a structured query for a given tag.
node_add_node_grants_to_query in modules/node/node.module
Helper function to create the or condition for a node grants check.
SearchQuery::executeFirstPass in modules/search/
Executes the first pass query.
SearchQuery::parseSearchExpression in modules/search/
Parses the search query into SQL conditions.
SearchQuery::setOption in modules/search/
Applies a search option and removes it from the search query string.

... See full list


includes/database/, line 2782


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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.