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

Implements QueryConditionInterface::condition().

Return value

SelectQuery:

Overrides QueryConditionInterface::condition

File

includes/database/select.inc, line 1056

Class

SelectQuery
Query builder for SELECT statements.

Code

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