function db_and

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

Return value

Condition

Related topics

7 calls to db_and()
ManyToOneHelper::add_filter in drupal/core/modules/views/lib/Drupal/views/ManyToOneHelper.php
Search::query in drupal/core/modules/search/lib/Drupal/search/Plugin/views/argument/Search.php
Add this argument to the query.
Search::query in drupal/core/modules/search/lib/Drupal/search/Plugin/views/filter/Search.php
Add this filter to the query.
SearchQuery::parseSearchExpression in drupal/core/modules/search/lib/Drupal/search/SearchQuery.php
Parses the search query into SQL conditions.
Sql::buildCondition in drupal/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
Construct the "WHERE" or "HAVING" part of the query.

... See full list

File

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

Code

function db_and() {
  return new Condition('AND');
}