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

Does `$this->keepSnapshots(true);` affect update behaviour?

If I know which field is changed, I think update can just update fields that changed. Is phalcon already do like this?



6.9k
Accepted
answer

If I understand correctly, the answer is yes - but it's not enabled by default.

https://docs.phalcon.io/en/latest/reference/models.html#dynamic-update