Deleting items from the database, filtering non-deleted items on Android (Kotlin) #2393
Labels
feature-request
Request a new feature
GraphQL API
Related to the API (GraphQL) category/plugins
transferred
This issue was transferred from another Amplify project
Which Specific Feature is your question related to?
Data, model generation
Question
Hi! I have two related questions:
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?
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,
The text was updated successfully, but these errors were encountered: