Bulk-cancel pending orders
The admin needs to cancel every order still waiting to be handled. Set every order with status pending to status cancelled in the orders table. Return nothing — just change the data.
Just INSERT/UPDATE/DELETE — no trailing SELECT needed.
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign in