function SelectQueryExtender::condition

Overrides QueryConditionInterface::condition

3 calls to SelectQueryExtender::condition()
SearchQuery::execute in modules/search/search.extender.inc
Executes the search.
SearchQuery::executeFirstPass in modules/search/search.extender.inc
Executes the first pass query.
SearchQuery::setOption in modules/search/search.extender.inc
Applies a search option and removes it from the search query string.

File

includes/database/select.inc, line 614

Class

SelectQueryExtender
The base extender class for Select queries.

Code

public function condition($field, $value = NULL, $operator = NULL) {
    $this->query
        ->condition($field, $value, $operator);
    return $this;
}

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