db_and

  1. drupal
    1. 7
Versions
7 db_and()

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

Return value

DatabaseCondition

Related topics

▾ 8 functions call db_and()

hook_query_TAG_alter in drupal/modules/system/system.api.php
Perform alterations to a structured query for a given tag.
node_access in drupal/modules/node/node.module
Determine whether the current user may perform the given operation on the specified node.
node_access_view_all_nodes in drupal/modules/node/node.module
Determines whether the user has a global viewing grant for all nodes.
SearchQuery::parseSearchExpression in drupal/modules/search/search.extender.inc
Parses the search query into SQL conditions.
_block_rehash in drupal/modules/block/block.module
Update the 'block' DB table with the blocks currently exported by modules.
_locale_translate_seek in drupal/includes/locale.inc
Perform a string search and display results in a table
_menu_navigation_links_rebuild in drupal/includes/menu.inc
Helper function to build menu links for the items in the menu router.
_node_query_node_access_alter in drupal/modules/node/node.module
Helper for node access functions.

Code

drupal/includes/database/database.inc, line 2542

<?php
function db_and() {
  return new DatabaseCondition('AND');
}
?>