src/Mapper.php
public function getMax(string $column): int
	{
		return $this->connection->query('SELECT IFNULL(MAX(%column), 0) position FROM %table', $column, $this->getTableName())->fetch()->position;
	}
public function getMax(string $column): int
	{
		return $this->connection->query('SELECT IFNULL(MAX(%column), 0) position FROM %table', $column, $this->getTableName())->fetch()->position;
	}
Vrati nejvetsi pozici
@param string $column
@return int
@throws QueryException