Chris H
Chris H

Reputation: 271

AWS Amplify: How can I sync data between each devices without stored in DynamoDB?

As the title suggested, we know when DataStore.save() performed, data would be transfer to the DynamoDB and already to sync to every client. So, the data will be store there. Now I would like to sync only new data to other clients, after that, it will be clear in the DynamoDB. Users use data store locally in your device and when they delete them, bum, it disappears forever. How can I do that? Thanks in advance!

Upvotes: 2

Views: 302

Answers (1)

Chris H
Chris H

Reputation: 271

here's solution after trying: DynamoDB Time to Live (TTL). Automatically delete items by configuration.

Upvotes: 1

Related Questions