Click or drag to resize

QueryRowGetConflictingRevisions Method

Gets the conflicting Revisions of the associated Document.

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax
C#
public IEnumerable<SavedRevision> GetConflictingRevisions()

Return Value

Type: IEnumerableSavedRevision
The conflicting Revisions of the associated Document
Remarks
Gets the conflicting Revisions of the associated Document. The first Revision in the array will be the default 'winning' Revision that shadows the Revisions. This is only valid in an all-documents Query whose allDocsMode is set to ShowConflicts or OnlyConflicts, otherwise it returns null.
See Also