Skip to content

Does Dexie Cloud support partial sync of large databases? #1746

Answered by dfahlander
jorroll asked this question in Q&A
Discussion options

You must be logged in to vote

That request is a valid one and it's part of my vision, but not yet possible with Dexie Cloud. My thoughts around this have been to have an optional configuration per table providing an index and a range/expression for offline data that could be relative to current date, for example if there's an indexed property creationDate on the posts table, the range/expression would be creationDate >= (currentDate - 1 year) for example. Ranges could also be non-date criterias.

There are also other possible hybrid cases, such as syncing data on-demand only and then keep everything in sync until it haven't been requested for that has been requested during the last month.

Current version will sync ever…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jorroll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants