DatabaseDelete Method (Document, ConcurrencyControl) |
Deletes the given
Document from this database
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0713
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