aws-amplify / aws-amplify/amplify-android
Deleting items from the database, filtering non-deleted items on Android (Kotlin)
- Dominant language
- Java
- Stars
- 287
- Forks
- 132
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 45
Description
### Which Specific Feature is your question related to?
Data, model generation
### Question
Hi! I have two related questions:
1. is it possible to completely remove/purge all deleted items from my database either via amplify cli or amplify studio? At the moment when i query the database with graphql queries the returned answer includes all the items that have been deleted. Is it possible to completely remove the deleted items from the database so that they do not appear in any queries?
2. On node.js / javascript the autogenerated model (generated using amplify codegen models) does include a _deleted property that i can check and filter out all the deleted items. However on Android (Kotlin) the generated model does not have _deleted property, so i can not filter out deleted items. How can i filter out deleted items from my list queries on Android/Kotlin?
Thanks,
Contributor guide
Assessment
This issue has not been assessed yet.