Gets a list of documents by their given id as an asynchronous operation.
Namespace: CouchbaseAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 0.0.0.0 (0.0.0.0)
Syntaxpublic Task<IDocumentResult<T>[]> GetDocumentsAsync<T>(
IEnumerable<string> ids
)
public Task<IDocumentResult<T>[]> GetDocumentsAsync<T>(
IEnumerable<string> ids
)
Public Function GetDocumentsAsync(Of T) (
ids As IEnumerable(Of String)
) As Task(Of IDocumentResult(Of T)())
Public Function GetDocumentsAsync(Of T) (
ids As IEnumerable(Of String)
) As Task(Of IDocumentResult(Of T)())
public:
generic<typename T>
virtual Task<array<IDocumentResult<T>^>^>^ GetDocumentsAsync(
IEnumerable<String^>^ ids
) sealed
public:
generic<typename T>
virtual Task<array<IDocumentResult<T>^>^>^ GetDocumentsAsync(
IEnumerable<String^>^ ids
) sealed
abstract GetDocumentsAsync :
ids : IEnumerable<string> -> Task<IDocumentResult<'T>[]>
override GetDocumentsAsync :
ids : IEnumerable<string> -> Task<IDocumentResult<'T>[]>
abstract GetDocumentsAsync :
ids : IEnumerable<string> -> Task<IDocumentResult<'T>[]>
override GetDocumentsAsync :
ids : IEnumerable<string> -> Task<IDocumentResult<'T>[]>
Parameters
- ids
- Type: System.Collections.Generic.IEnumerable<String>
The documents primary keys.
Type Parameters- T
- The type T to convert the value to.
Return Value
Type:
Task<IDocumentResult<T>[]>
The
Task<TResult> array representing the asynchronous operation results.
Implements
IBucket.GetDocumentsAsync<T>(IEnumerable<String>)
See Also