function db_and in Drupal 7
Same name and namespace in other branches
- 8 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 2781 - Core systems for the database layer.
Code
function db_and() {
return new DatabaseCondition('AND');
}