'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!
Solution 1:[1]
here's solution after trying: DynamoDB Time to Live (TTL). Automatically delete items by configuration.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Chris H |