src/QueryBuilder.php
public function selectMax(string $field, $as=FALSE): QueryBuilderInterface
	{
		// Create the select string
		$this->state->appendSelectString(' MAX'.$this->_select($field, $as));
		return $this;
	}
public function selectMax(string $field, $as=FALSE): QueryBuilderInterface
	{
		// Create the select string
		$this->state->appendSelectString(' MAX'.$this->_select($field, $as));
		return $this;
	}
public function selectMax ( string $ field , $ as = FALSE ) : QueryBuilderInterface { // Create the select string $ this -> state -> appendSelectString ( ' MAX' . $ this -> _select ( $ field , $ as ) ) ; return $ this ; }
Selects the maximum value of a field from a query

@param string $field
@param string|bool $as
@return QueryBuilderInterface
Selects the maximum value of a field from a query