为什么顶点删除请求不会在 Arangodb 中删除带有 AQL 的链接边? [英] Why vertex removing request doesn't remove linked edge with AQL in Arangodb?

查看:23
本文介绍了为什么顶点删除请求不会在 Arangodb 中删除带有 AQL 的链接边?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个文档集合和一个边缘集合.我也有这个集合的图表.

I have two document collections and one edge collection. Also I have a graph by this collections.

  1. 我可以在 Arangodb 中使用 AQL 查询从图中删除顶点吗?
  2. 如何删除图中的顶点以便边也将被删除?我需要在 Arangodb 中使用 AQL 查询来做到这一点.

如果我在图形界面中删除顶点,那么链接的边也会被删除.为什么 Arangodb 不支持删除顶点及其链接边?

If I remove vertex in graphical interface then linked edges is removed too. Why Arangodb doesn't support removing vertices together with their linked edges?

先谢谢你!

更新:

我在这里得到了答案:

图形一致性何时在 ArangoDB java 驱动程序中实现?

推荐答案

删除具有关联边的顶点当前不通过 AQL 处理.但是,可以设计一个执行此操作的查询.

Deleting vertices with associated edges is currently not handled via AQL. However it is possible to design a query that does it.

最近在 ArangoDB 文档 在常用查询模式"部分.

A guide on how to delete a vertex with its linked edges via AQL has recently been created in the ArangoDB documentation in the "Usual Query Patterns" section.

这篇关于为什么顶点删除请求不会在 Arangodb 中删除带有 AQL 的链接边?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆