QueryRowSourceDocumentId Property |
Gets the Id of the
Document that caused the
QueryRow to be emitted into the View.
This will be the same as the documentId property, unless the map function
caused a related
Document to be linked by adding
an '_id' key to the emmitted value. In this case, documentId will refer to
the linked
Document, while sourceDocumentId always
refers to the original
Document. In a reduced or grouped
Query, sourceDocumentId will be null because the rows
don't correspond to individual
Document.
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax public string SourceDocumentId { get; }
Property Value
Type:
StringThe source document identifier.
See Also