IDocumentApiClientPostDocumentsAsyncT Method |
Post multiple documents in a single request.
Namespace:
ArangoDBNetStandard.DocumentApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax Task<PostDocumentsResponse<T>> PostDocumentsAsync<T>(
string collectionName,
IList<T> documents,
PostDocumentsQuery query = null,
ApiClientSerializationOptions serializationOptions = null,
DocumentHeaderProperties headers = null
)
Function PostDocumentsAsync(Of T) (
collectionName As String,
documents As IList(Of T),
Optional query As PostDocumentsQuery = Nothing,
Optional serializationOptions As ApiClientSerializationOptions = Nothing,
Optional headers As DocumentHeaderProperties = Nothing
) As Task(Of PostDocumentsResponse(Of T))
generic<typename T>
Task<PostDocumentsResponse<T>^>^ PostDocumentsAsync(
String^ collectionName,
IList<T>^ documents,
PostDocumentsQuery^ query = nullptr,
ApiClientSerializationOptions^ serializationOptions = nullptr,
DocumentHeaderProperties^ headers = nullptr
)
abstract PostDocumentsAsync :
collectionName : string *
documents : IList<'T> *
?query : PostDocumentsQuery *
?serializationOptions : ApiClientSerializationOptions *
?headers : DocumentHeaderProperties
(* Defaults:
let _query = defaultArg query null
let _serializationOptions = defaultArg serializationOptions null
let _headers = defaultArg headers null
*)
-> Task<PostDocumentsResponse<'T>>
Parameters
- collectionName
- Type: SystemString
- documents
- Type: System.Collections.GenericIListT
- query (Optional)
- Type: ArangoDBNetStandard.DocumentApi.ModelsPostDocumentsQuery
- serializationOptions (Optional)
- Type: ArangoDBNetStandard.SerializationApiClientSerializationOptions
The serialization options. When the value is null the
the serialization options should be provided by the serializer, otherwise the given options should be used. - headers (Optional)
- Type: ArangoDBNetStandard.DocumentApi.ModelsDocumentHeaderProperties
The DocumentHeaderProperties values.
Type Parameters
- T
Return Value
Type:
TaskPostDocumentsResponseTSee Also