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