Lines Matching refs:where
21 * @param QueryBuilder $QB The QueryBuilder to which this where-clause belongs
44 return $this->where('AND', $statement);
55 return $this->where('OR', $statement);
65 return $this->where('AND', null);
75 return $this->where('OR', null);
86 public function where($op = 'AND', $statement = null)
94 $where = new QueryBuilderWhere($this->QB, $op, $statement);
95 $this->statement[] = $where;
100 return $where;
113 * @param bool $first is this the first where statement? Then the type is ignored
126 foreach ($this->statement as $where) {
127 $sql .= $where->toSQL($first);