function db_and
Same name in other branches
- 8.9.x core/includes/database.inc \db_and()
Returns a new DatabaseCondition, set to "AND" all conditions together.
Return value
Related topics
2 calls to db_and()
- SearchQuery::parseSearchExpression in modules/
search/ search.extender.inc - Parses the search query into SQL conditions.
- _node_query_node_access_alter in modules/
node/ node.module - Helper for node access functions.
File
-
includes/
database/ database.inc, line 2791
Code
function db_and() {
return new DatabaseCondition('AND');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.