I guess the behaviour of saveRecord
is like an upsert
- am I correct?.
Also, as per docs, if an attribute with an aggregate expression (available ones) is indexed, then every update goes through a differential computation process before the attribute updates itself - is my understanding correct?
I also wanted to see if there are inbuilt facilities to differentiate between insert
, update
, and upsert
- I didn’t find any. If not, then I think it can be managed with my code logic, but just wanted to check if there is anything available.
Thanks