FaaPz\PDO\Clause\Limit implements QueryInterface
Parameter | Description |
---|---|
$rowCount |
The number of rows to effect |
$offset |
The offset to start counting at |
use FaaPz\PDO\Clause\Limit;
// ... LIMIT ?
$statement->limit(new Limit(10));
// ... LIMIT ? OFFSET ?
$statement->limit(new Limit(10, 30));