order by should be placed after where, but if order()->where() later, wouldn’t an error be reported?
The order of the methods in the chain operation is not important. The correct sql statement will eventually be generated by the build object
The order of the methods in the chain operation is not important. The correct sql statement will eventually be generated by the build object