Closed greenking19 closed 10 months ago
At the moment it's not possible to query, but I'm working on moving the backend from Hive to a database where queries will be possible.
For things created offline AND that were attempted to sync with a server but failed, try inspecting repository.offlineOperations
. If you did not attempt to save they will not appear there
(Btw there is no need to use internalType
in the annotation)
@frank06 can you please show me example code of how to access repository.offlineOperations ???
@alexdoan102 ref.users.offlineOperations
I have two tables, one is User and the other is Todo Due to design reasons, they are not related. Due to design reasons, they are not associated, but the todo table has a userid field. User Table
Todo Table
How to query local data when offline? Similar to MySQL
Another question is, I would like to know which data was created offline or created but not uploaded to the server. How do I need to search?
Sometimes I may need to clear all local data, can this be done? This is the issue I encountered while using Flutterdata. I hope to get your help.🙋 thank you!👨🏻💻