GraphApiClientPatchVertexAsyncT, U Method (String, String, String, T, PatchVertexQuery) |
Updates the data of the specific vertex in the collection.
PATCH/_api/gharial/{graph}/vertex/{collection}/{vertex}
Namespace:
ArangoDBNetStandard.GraphApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax public virtual Task<PatchVertexResponse<U>> PatchVertexAsync<T, U>(
string graphName,
string collectionName,
string vertexKey,
T body,
PatchVertexQuery query = null
)
Public Overridable Function PatchVertexAsync(Of T, U) (
graphName As String,
collectionName As String,
vertexKey As String,
body As T,
Optional query As PatchVertexQuery = Nothing
) As Task(Of PatchVertexResponse(Of U))
public:
generic<typename T, typename U>
virtual Task<PatchVertexResponse<U>^>^ PatchVertexAsync(
String^ graphName,
String^ collectionName,
String^ vertexKey,
T body,
PatchVertexQuery^ query = nullptr
)
abstract PatchVertexAsync :
graphName : string *
collectionName : string *
vertexKey : string *
body : 'T *
?query : PatchVertexQuery
(* Defaults:
let _query = defaultArg query null
*)
-> Task<PatchVertexResponse<'U>>
override PatchVertexAsync :
graphName : string *
collectionName : string *
vertexKey : string *
body : 'T *
?query : PatchVertexQuery
(* Defaults:
let _query = defaultArg query null
*)
-> Task<PatchVertexResponse<'U>>
Parameters
- graphName
- Type: SystemString
- collectionName
- Type: SystemString
- vertexKey
- Type: SystemString
- 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:
TaskPatchVertexResponseUImplements
IGraphApiClientPatchVertexAsyncT, U(String, String, String, T, PatchVertexQuery)See Also