Upserts a list of
IDocument<T> into a bucket asynchronously.
Namespace: CouchbaseAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 0.0.0.0 (0.0.0.0)
Syntaxpublic Task<IDocumentResult<T>[]> UpsertAsync<T>(
List<IDocument<T>> documents
)
public Task<IDocumentResult<T>[]> UpsertAsync<T>(
List<IDocument<T>> documents
)
Public Function UpsertAsync(Of T) (
documents As List(Of IDocument(Of T))
) As Task(Of IDocumentResult(Of T)())
Public Function UpsertAsync(Of T) (
documents As List(Of IDocument(Of T))
) As Task(Of IDocumentResult(Of T)())
public:
generic<typename T>
virtual Task<array<IDocumentResult<T>^>^>^ UpsertAsync(
List<IDocument<T>^>^ documents
) sealed
public:
generic<typename T>
virtual Task<array<IDocumentResult<T>^>^>^ UpsertAsync(
List<IDocument<T>^>^ documents
) sealed
abstract UpsertAsync :
documents : List<IDocument<'T>> -> Task<IDocumentResult<'T>[]>
override UpsertAsync :
documents : List<IDocument<'T>> -> Task<IDocumentResult<'T>[]>
abstract UpsertAsync :
documents : List<IDocument<'T>> -> Task<IDocumentResult<'T>[]>
override UpsertAsync :
documents : List<IDocument<'T>> -> Task<IDocumentResult<'T>[]>
Parameters
- documents
- Type: System.Collections.Generic.List<IDocument<T>>
The documents to upsert.
Type ParametersReturn Value
Type:
Task<IDocumentResult<T>[]>
A
Task<TResult> list.
Implements
IBucket.UpsertAsync<T>(List<IDocument<T>>)
See Also