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 determine if save() was a create() or an update()

Is there a way to determine what was actually done when save() was called? I am overriding save() to include a transaction and I need to know was the save() a create() or an update(). Or do I do it some other way?