IGraphApiClientPatchVertexAsyncT, U Method (String, String, T, PatchVertexQuery) |
Updates the data of the specific vertex based on its document ID.
Namespace:
ArangoDBNetStandard.GraphApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax Task<PatchVertexResponse<U>> PatchVertexAsync<T, U>(
string graphName,
string documentId,
T body,
PatchVertexQuery query = null
)
Function PatchVertexAsync(Of T, U) (
graphName As String,
documentId As String,
body As T,
Optional query As PatchVertexQuery = Nothing
) As Task(Of PatchVertexResponse(Of U))
generic<typename T, typename U>
Task<PatchVertexResponse<U>^>^ PatchVertexAsync(
String^ graphName,
String^ documentId,
T body,
PatchVertexQuery^ query = nullptr
)
abstract PatchVertexAsync :
graphName : string *
documentId : string *
body : 'T *
?query : PatchVertexQuery
(* Defaults:
let _query = defaultArg query null
*)
-> Task<PatchVertexResponse<'U>>
Parameters
- graphName
- Type: SystemString
The name of the graph in which to update the vertex. - documentId
- Type: SystemString
The document ID of the vertex to update. - body
- Type: T
- query (Optional)
- Type: ArangoDBNetStandard.GraphApi.ModelsPatchVertexQuery
Type Parameters
- T
- Type of the patch object
- U
- Type of the returned document, only applies when
ReturnNew or ReturnOld
are used.
Return Value
Type:
TaskPatchVertexResponseUSee Also