Click or drag to resize

DatabaseSave Method

Saves the given MutableDocument into this database

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 0.0.0
Syntax
C#
public Document Save(
	MutableDocument document
)

Parameters

document
Type: Couchbase.LiteMutableDocument
The document to save

Return Value

Type: Document
The document that was created as the new revision
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown when trying to save a document into a database other than the one it was previously added to
See Also