DatabaseDelete Method (Document, ConcurrencyControl) |
Deletes the given
Document from this database
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.1.0-b0232
Syntax public bool Delete(
Document document,
ConcurrencyControl concurrencyControl
)
Parameters
- document
- Type: Couchbase.LiteDocument
The document to save - concurrencyControl
- Type: Couchbase.LiteConcurrencyControl
The rule to use when encountering a conflict in the database
Return Value
Type:
Booleantrue if the delete succeeded,
false if there was a conflict
Exceptions See Also