We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

how to update records from view and method present in a model



98.9k

Updating records in a view is not a good practice, however you can do it was in any other place of your application. https://docs.phalcon.io/en/latest/reference/models.html#creating-updating-records