IGraphApiClientPatchEdgeAsyncT, U Method (String, String, T, PatchEdgeQuery) |
Updates the data of the specific edge based on its document ID.
Namespace:
ArangoDBNetStandard.GraphApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax Task<PatchEdgeResponse<U>> PatchEdgeAsync<T, U>(
string graphName,
string documentId,
T edge,
PatchEdgeQuery query = null
)
Function PatchEdgeAsync(Of T, U) (
graphName As String,
documentId As String,
edge As T,
Optional query As PatchEdgeQuery = Nothing
) As Task(Of PatchEdgeResponse(Of U))
generic<typename T, typename U>
Task<PatchEdgeResponse<U>^>^ PatchEdgeAsync(
String^ graphName,
String^ documentId,
T edge,
PatchEdgeQuery^ query = nullptr
)
abstract PatchEdgeAsync :
graphName : string *
documentId : string *
edge : 'T *
?query : PatchEdgeQuery
(* Defaults:
let _query = defaultArg query null
*)
-> Task<PatchEdgeResponse<'U>>
Parameters
- graphName
- Type: SystemString
The name of the graph in which to update the edge. - documentId
- Type: SystemString
The document ID 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:
TaskPatchEdgeResponseUSee Also