Click or drag to resize
IBucketInsertT Method (IDocumentT)
Inserts a JSON document into the IBucketfailing if it exists.

Namespace: Couchbase.Core
Assembly: Couchbase (in Couchbase.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
IDocumentResult<T> Insert<T>(
	IDocument<T> document
)

Parameters

document
Type: CouchbaseIDocumentT
The IDocumentT JSON document to add to the database.

Type Parameters

T
The Type T value of the document to be inserted.

Return Value

Type: IDocumentResultT
An object implementing IDocumentResultT with information regarding the operation.
See Also