Click or drag to resize

IGraphApiClientPatchEdgeAsyncT, U Method (String, String, String, T, PatchEdgeQuery)

Updates the data of the specific edge in the collection. PATCH/_api/gharial/{graph}/edge/{collection}/{edge}

Namespace:  ArangoDBNetStandard.GraphApi
Assembly:  ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax
Task<PatchEdgeResponse<U>> PatchEdgeAsync<T, U>(
	string graphName,
	string collectionName,
	string edgeKey,
	T edge,
	PatchEdgeQuery query = null
)

Parameters

graphName
Type: SystemString
The name of the graph in which to update the edge.
collectionName
Type: SystemString
The name of the edge collection.
edgeKey
Type: SystemString
The document key of the edge to update.
edge
Type: T
query (Optional)
Type: ArangoDBNetStandard.GraphApi.ModelsPatchEdgeQuery

Type Parameters

T
Type of the patch object used to perform a partial update of the edge document.
U
Type of the returned edge document, when ReturnOld or ReturnNew query params are used.

Return Value

Type: TaskPatchEdgeResponseU
See Also