/** * 指定查询数量 * @access public * @param mixed $offset 起始位置(偏移量) * @param mixed $length 查询数量 * @return Model */ public function limit($offset, $length = null)
/** * 指定分页 * @access public * @param mixed $page 页数 * @param mixed $listRows 每页数量 * @return Model */ public function page($page, $listRows = null)