Private/Polyfony/Query.php
public function groupBy(array $columns) {
		// for each given parameter
		foreach($columns as $column) {
			// secure the column name
			list($column) = Query\Convert::columnToPlaceholder($this->Quote ,$column);
			// push it
			$this->Groups[] = $column;
		}
		// return self to the next method
		return $this;
	}
public function groupBy(array $columns) {
		// for each given parameter
		foreach($columns as $column) {
			// secure the column name
			list($column) = Query\Convert::columnToPlaceholder($this->Quote ,$column);
			// push it
			$this->Groups[] = $column;
		}
		// return self to the next method
		return $this;
	}
public function groupBy ( array $ columns ) { // for each given parameter foreach ( $ columns as $ column ) { // secure the column name list ( $ column ) = Query \ Convert :: columnToPlaceholder ( $ this -> Quote , $ column ) ; // push it $ this -> Groups [ ] = $ column ; } // return self to the next method return $ this ; }
add a group clause
add a group clause