Esempio n. 1
0
 /**
  * @param QuerySelect $pQuery
  * @return QueryCondition
  */
 public function orNotExists(QuerySelect $pQuery)
 {
     array_push($this->existOr, "NOT EXISTS (" . $pQuery->get() . ")");
     return $this;
 }
Esempio n. 2
0
 /**
  * @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;
 }