public limit (mixed $sqlQuery, mixed $number)
Generates the SQL for LIMIT clause
$sql = $dialect->limit('SELECT * FROM robots', 10); echo $sql; // SELECT * FROM robots LIMIT 10 $sql = $dialect->limit('SELECT * FROM robots', [10, 50]); echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50
Please login to continue.