请问如果我想根据如下sql语句得到的记录进行分页展示该如何向paginate()传递实参。"select * from user where age >18 order by age desc"
为何要将paginate()中"select *"和"from user where age >"作为两个实参而不合为一个实参传入?
paginate(1, 10, "select *", "from user where age >18");