Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

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?