Category: Models & ORM

Update all records using updateAll() and SQL IN clause

I am using Cakephp 3 latest version and I want to update a gender column for multiple rows. I have studied the ORM documentation and I have no idea how to NOT use foreach loop to update multiple rows

SOLVED #sql #updateall
2 Answers
achao
achao

9