DataStore
Set up Amplify DataStore
Amplify DataStore provides a programming model for leveraging shared and distributed data without writing additional code for offline and online scenarios, which makes working with distributed, cross-user data just as simple as working with local-only data.
Manipulating data
Learn how to save, query, paginate, update, delete and observe data in DataStore.
Relational models
Learn more about how DataStore handles relationships between models, such as 'has one', 'has many', and 'belongs to'.
Syncing data to cloud
Learn more about how DataStore connects to an AppSync backend and automatically syncs all locally saved data using GraphQL.
Set up authorization rules
Learn how to apply authorization rules to your models with the @auth directive
Conflict resolution
Learn more about how conflict resolution in DataStore is managed and how to configure it.
Observe in real time
Learn more about how DataStore handles data changes in real time.
DataStore events
Listening to DataStore events
Additional DataStore methods
Other Amplify DataStore methods
Schema updates
Learn more about how to issue schema updates for DataStore
How it works
Amplify DataStore provides a persistent on-device storage repository for you to write, read, and observe changes to data if you are online or offline, and seamlessly sync to the cloud as well as across devices. Learn more about how it works.
Customize primary keys
Learn more about advanced workflows in the Amplify DataStore category, including custom primary keys.
Data usage policy information
Review the data types gathered by the Amplify library that Apple requires you to disclose in your app's data usage policy when submitting the app to the App Store.
Uninstalling the app
Understand how to handle persistent data on a device when a user uninstalls the app.