order by should be placed after where, but won't an error be reported if order()->where() is used later?
zjy
zjy 2018-11-22 14:57:27
0
1
1231

order by should be placed after where, but if order()->where() later, wouldn’t an error be reported?

zjy
zjy

reply all(1)
Peter-Zhu

The order of the methods in the chain operation is not important. The correct sql statement will eventually be generated by the build object

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!