/** Returns all the current conflicting revisions of the document. If the document is not
in conflict, only the single current revision will be returned. */
- (nullable CBLArrayOf(CBLRevision*)*) getConflictingRevisions: (NSError**)outError;
On May 19, 2016, at 9:41 AM, Nick Pomfret <npom...@gmail.com> wrote:
So do I only get this conflict occasionally? The description in your reply suggests that there should always be one value in the conflicts.
if(doc._conflicts) {
emit(doc._conflicts, doc);
}
That view contained the document in the screen shot. It happens occasionally, but I haven't spotted what causes it yet.
--
You received this message because you are subscribed to a topic in the Google Groups "Couchbase Mobile" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mobile-couchbase/6b85pbA0Ess/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/782AF3F3-C34B-4803-878A-47602C7B54F1%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.
On May 19, 2016, at 11:35 AM, Nick Pomfret <npom...@snowmonkey.co.uk> wrote:
I have a view that shows me all the conflicts in the system (because there doesn't seem to be any other way to get them):
--
You received this message because you are subscribed to a topic in the Google Groups "Couchbase Mobile" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mobile-couchbase/6b85pbA0Ess/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/747F52AB-DD87-40F3-9475-AE7681EB6220%40couchbase.com.
—Jens
--
You received this message because you are subscribed to a topic in the Google Groups "Couchbase Mobile" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mobile-couchbase/6b85pbA0Ess/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/5F199D67-F92B-4F77-89A4-03D3BBE0D28F%40couchbase.com.
On May 20, 2016, at 2:53 AM, Nick Pomfret <npom...@snowmonkey.co.uk> wrote:
Thanks for the reply. /db/_all_docs?only_conflicts=true didn't work correctly on android or iOS, which is why I created a custom view for it.