Quantcast
Channel: Mobile - Couchbase Forums
Viewing all articles
Browse latest Browse all 1117

Can I enforce sync order using a push filter and pendingDocumentIDs?

$
0
0

I have documents A and B where A needs to be synced before B.

Can I use a push filter and pendingDocumentIDs to do this? My plan was to, in the push filter, check the if A is in pending docs, and block B if it is. Will this work?

My use case is that both documents were created when the app was offline and are synced at the same time.

5 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 1117

Trending Articles