protected function contextAttached() { parent::contextAttached(); $this->context->statements['FROM'] = null; $this->context->statements['DELETE FROM'] = $this->context->getFrom(); $this->context->statements['DELETE'] = $this->context->getFrom(); }
protected function contextAttached() { parent::contextAttached(); $this->context->statements['FROM'] = $this->context->getFrom(); if (!in_array($this->getTableAlias(), $this->context->joins)) { $this->context->joins[] = $this->getTableAlias(); } }