For these steps:
1. Run the transaction through App.router.transaction ()
2. Add Post-1 and Post-2 to transaction
3. Delete message-1
4. Delete post-2
5. transaction.commit ()
How to handle the following:
1. Delete the record from the view, After deleting it from the server.
2. If Commit does not work, cancel the transaction. So the entries are again visible in the view.
3. How to show deleted records in the field of view, since After Local delete is deleted from the collection.
source
share