Using the method updateOrCreate, is there a way to know which if a record was updated or created?
UPDATE:
I need to use this feature to return 201, for created record, or 204 for updated record.
Thank you.
Using the method updateOrCreate, is there a way to know which if a record was updated or created?
UPDATE:
I need to use this feature to return 201, for created record, or 204 for updated record.
Thank you.