public function initGroupBy(Gpf_SqlBuilder_GroupByClause $groupBy) { $groupBy->add('t.'.Pap_Db_Table_Transactions::SALE_ID); }
public function equals(Gpf_SqlBuilder_GroupByClause $groupBy) { return $groupBy->toString() == $this->toString(); }
public function toString() { return $this->select->toString() . ($this->from->isEmpty() ? '' : "FROM " . $this->from->toString()) . $this->where->toString() . $this->groupBy->toString() . $this->having->toString() . $this->orderBy->toString() . $this->limit->toString(); }