On Sep 8, 2014, at 8:19 AM, Jeremy Kelley <jer...@33ad.org> wrote:I've searched the docs and I can't seem to find a way to get a count
of unsync'd documents.
On Sep 8, 2014, at 10:10 AM, Jeremy Kelley <jer...@33ad.org> wrote:That was my fear... So with a continuous sync running, this is a bit complicated.
> When the replication status changes to idle, all docs have been synced.
A number of users are struggling to build user interfaces which indicate to users which items are not yet sync'ed to a server. This is especially true for devs that are using one-shot replications to limit radio battery drain, or during significant partition events (airplane mode one, no usable wifi, etc).
--
You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/45B15E27-2639-48AB-A362-6486D7DB4C1B%40couchbase.com.
On Sep 9, 2014, at 8:10 AM, Zack Gramana <za...@couchbase.com> wrote:A number of users are struggling to build user interfaces which indicate to users which items are not yet sync'ed to a server. This is especially true for devs that are using one-shot replications to limit radio battery drain, or during significant partition events (airplane mode one, no usable wifi, etc).
--
You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/506EDCD5-CE8C-45FE-8A67-F2605153D0A8%40couchbase.com.
- Do you need just the total number of un-pushed docs, or the individual doc IDs?
- Are you OK with a one-shot call to retrieve this, or do you need change notifications (as with LiveQuery)?
In each of these, the second alternative (doc IDs, change notifications) will be harder to implement efficiently.
On Sep 10, 2014, at 5:34 PM, Zack Gramana <za...@couchbase.com> wrote:The people I’ve talked to want this as a boolean property on Document.
Perhaps just a simple sync event handler/callback, added to Document, the is invoked when the item has been pushed.
--
You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/74CE051E-EA7A-4853-8033-DDB1A6D97C61%40couchbase.com.
On Sep 10, 2014, at 6:29 PM, Zack Gramana <za...@couchbase.com> wrote:If the Boolean property is added to the DocumentChange class, then that is already accounted for.
On Sep 10, 2014, at 7:28 PM, Jeremy Kelley <jer...@33ad.org> wrote:For my case, just a simple count of unsync'd / local-only docs is
fine. A one shot is fine.