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

Implements QueryConditionInterface::condition().

Return value

SelectQuery:

Overrides QueryConditionInterface::condition

File

core/includes/database/select.inc, line 1054

Class

SelectQuery
Query builder for SELECT statements.

Code

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