Click or drag to resize

DatabaseSave Method (MutableDocument)

Saves the given MutableDocument into this database. This call is equivalent to calling Save(MutableDocument, ConcurrencyControl) with a second argument of LastWriteWins

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0713
Syntax
C#
public void Save(
	MutableDocument document
)

Parameters

document
Type: Couchbase.LiteMutableDocument
The document to save
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown when trying to save a document into a database other than the one it was previously added to
See Also