Click or drag to resize

DatabaseDocumentExists Method

Checks whether a document with the given ID exists in the database

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0125
Syntax
C#
public bool DocumentExists(
	string docID
)

Parameters

docID
Type: SystemString
the ID to search for

Return Value

Type: Boolean
true if a document exists with that ID, false otherwise
See Also