CouchbaseBucket.InsertAsync<T> Method (List<IDocument<T>>, ReplicateTo)Couchbase .NET SDK 2.3.3
Inserts a list of JSON documents asynchronously, each document failing if it already exists.

Namespace: Couchbase
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
public Task<IDocumentResult<T>[]> InsertAsync<T>(
	List<IDocument<T>> documents,
	ReplicateTo replicateTo
)

Parameters

documents
Type: System.Collections.Generic.List<IDocument<T>>
The documents.
replicateTo
Type: Couchbase.ReplicateTo

[Missing <param name="replicateTo"/> documentation for "M:Couchbase.CouchbaseBucket.InsertAsync``1(System.Collections.Generic.List{Couchbase.IDocument{``0}},Couchbase.ReplicateTo)"]

Type Parameters
T

[Missing <typeparam name="T"/> documentation for "M:Couchbase.CouchbaseBucket.InsertAsync``1(System.Collections.Generic.List{Couchbase.IDocument{``0}},Couchbase.ReplicateTo)"]

Return Value

Type: Task<IDocumentResult<T>[]>

[Missing <returns> documentation for "M:Couchbase.CouchbaseBucket.InsertAsync``1(System.Collections.Generic.List{Couchbase.IDocument{``0}},Couchbase.ReplicateTo)"]

Implements

IBucket.InsertAsync<T>(List<IDocument<T>>, ReplicateTo)
See Also