1 select.inc public SelectQuery::condition($field, $value = NULL, $operator = NULL)

Return value

SelectQuery:

Overrides QueryConditionInterface::condition

File

core/includes/database/select.inc, line 1243
Contains classes and interfaces for Select queries.

Class

SelectQuery
Query builder for SELECT statements.

Code

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