system/Database/BaseBuilder.php
protected function _limit(string $sql): string
	{
		return $sql . ' LIMIT ' . ($this->QBOffset ? $this->QBOffset . ', ' : '') . $this->QBLimit;
	}
protected function _limit(string $sql): string
	{
		return $sql . ' LIMIT ' . ($this->QBOffset ? $this->QBOffset . ', ' : '') . $this->QBLimit;
	}
LIMIT string

Generates a platform-specific LIMIT clause.

@param string $sql SQL Query

@return string