Asf_Db_AbstractQueryBuilder::limit


Description

public function limit(int $start_page, int $end_page)

Parameters

start_page

起始页

end_page

结束页

Return Values

操作成功返回 Object, 失败返回 false

Examples

Example #1

<?php
// string(38) "[SQL] SELECT * FROM `test` LIMIT 0, 10"

$select = Asf_Db::QBS();
var_dump($select->cols()->from('test')->limit(0, 10)->show());