Hi guys, i've a concern about doing updates with ORM. If i've to update all related records with the same change how shall i approach?
ORM suggests me to apply this change in a FOR loop over every object but this seems to be really inefficient if you consider that it should consist just in a single update instruction on the RDBMS.
EDIT: I've followed the suggested approach found in the manual under Related Records Update as below:
and also with
but i'm getting this in return
Fatal error: Call to undefined method Phalcon\Mvc\Model\Resultset\Simple::update()
Can you help me?
Thank you Gianluca