GraphApiClientPatchEdgeAsyncT, 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 public virtual Task<PatchEdgeResponse<U>> PatchEdgeAsync<T, U>(
string graphName,
string collectionName,
string edgeKey,
T edge,
PatchEdgeQuery query = null
)
Public Overridable Function PatchEdgeAsync(Of T, U) (
graphName As String,
collectionName As String,
edgeKey As String,
edge As T,
Optional query As PatchEdgeQuery = Nothing
) As Task(Of PatchEdgeResponse(Of U))
public:
generic<typename T, typename U>
virtual Task<PatchEdgeResponse<U>^>^ PatchEdgeAsync(
String^ graphName,
String^ collectionName,
String^ edgeKey,
T edge,
PatchEdgeQuery^ query = nullptr
)
abstract PatchEdgeAsync :
graphName : string *
collectionName : string *
edgeKey : string *
edge : 'T *
?query : PatchEdgeQuery
(* Defaults:
let _query = defaultArg query null
*)
-> Task<PatchEdgeResponse<'U>>
override PatchEdgeAsync :
graphName : string *
collectionName : string *
edgeKey : 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. - 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:
TaskPatchEdgeResponseUImplements
IGraphApiClientPatchEdgeAsyncT, U(String, String, String, T, PatchEdgeQuery)See Also