I'm using Azure table storage for storing the data. I'm getting confused on when to use insertOrReplace and insertOrMerge. I'm using Azure SDK 1.7.
My understanding on insertOrReplace is replacing entire property of previous entity with new entity if the entity exists. if the new entity doesn't define property or having property value null then that property will be removed on updating.
Whereas in insertOrMerge, old properties will be retained even if the new entity didn't define new properties in new entity. Is my understanding is correct?
See Question&Answers more detail:os