I am using transaction (transact write) which has the series of following operations:-
- Updating primary key - delete operation
- adding a new record with the updated primary key:- This actually means a new record so here I am confused whether to use put or update as both will insert a new record according to docs.
will the performance be the same in this case?
Note i am not looking for the difference in terms of how they perform as mentioned in this question Difference between DynamoDb PutItem vs UpdateItem?