Exemplo n.º 1
0
 protected function handleJoin($token)
 {
     if ($token['isContextual']) {
         $this->contextJoin = $token;
     }
     if (isset($this->subquery)) {
         $this->subqueryContext = $this->subquery->addJoin($this->subqueryContext, $token['tableB'], $token['expression'], $token['hasZero'], $token['hasMany']);
     } else {
         $this->context = $this->mysql->addJoin($this->context, $token['tableB'], $token['expression'], $token['hasZero'], $token['hasMany']);
     }
 }
Exemplo n.º 2
0
 public function __construct()
 {
     parent::__construct();
     $this->columns = array();
     $this->values = array();
 }