Couchbase Lite .NET Documentation
Couchbase Lite .NET Documentation
Couchbase.Lite
IDatabase Interface
IDatabase Methods
Close Method
CreateDocument Method
CreateIndex Method
Delete Method
DeleteIndex Method
DocumentExists Method
GetDocument Method
InBatch Method
IDatabase
DocumentExists Method
Checks if the
IDocument
with the given ID exists in the database
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0033
Syntax
C#
Copy
bool
DocumentExists
(
string
documentID
)
Parameters
documentID
Type:
System
String
The ID to check
Return Value
Type:
Boolean
true
if the document exists,
false
otherwise
Exceptions
Exception
Condition
ThreadSafetyViolationException
Thrown if an invalid access attempt is made
See Also
Reference
IDatabase Interface
Couchbase.Lite Namespace