Welcome Guest, Not a member yet? Register   Sign In
orderBy() function is not working when delete() function is used in query builder.
#6

(This post was last modified: 05-27-2021, 12:09 AM by salain.)

Hi,

You should useĀ  whereIn() with a subquery

Put your orderBy and limit clause in the subquery.

Look at the documentation here

Regards
Reply


Messages In This Thread
RE: orderBy() function is not working when delete() function is used in query builder. - by salain - 05-27-2021, 12:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB