graph - modify vertex or edges attributes with a Traversal Object in ArangoDB? -
is possible/allowed use graph traversal object modify attributes of vertices or edges within config visitor function ?
right traversal functionality read-only due potential side-effects , deadlock situations. improving traversals @ moment, feature included (it might in different way via visitor function.
as workaround current release following: 1) write visitor function returns necessary know attributes on objects have modified (e.g. list of object _id values). in second request can update of these documents.
2) write foxx microservice encapsulates both requests, namely: * start transaction function potential collections (optional) * execute traversal , compute information update objects. * update documents. * close transaction function
Comments
Post a Comment