/** * @param QuerySelect $pQuery * @return QueryCondition */ public function orNotExists(QuerySelect $pQuery) { array_push($this->existOr, "NOT EXISTS (" . $pQuery->get() . ")"); return $this; }
/** * @param QuerySelect $pQuery * @return QuerySelect */ protected function prepareJoin(QuerySelect $pQuery) { if (count($this->joins)) { foreach ($this->joins as $j) { $pQuery->join($j["table"], $j["type"], $j["on"]); } } return $pQuery; }