THinkPHP的倒敘查詢怎么查
1 回答

四季花海
TA貢獻1811條經驗 獲得超5個贊
可以用原生sql 直接查詢 select * from table order by time desc limit 1
用thinkphp原生的 M('table')->order('time desc')->limit(1)->select()
- 1 回答
- 0 關注
- 2209 瀏覽
添加回答
舉報
0/150
提交
取消