有没有办法从集群名称请求集群 ID?
上下文: 在我们的上下文中,默认集群允许子集群查看但不能更新数据。我想通知用户,它正在查看从与自己不同的集群提供的数据。
示例
Cluster Product
#15:0 // cluster name : product. Product provided from head office
#115:0 //cluster name : productmybranch. Product provided from the branch
分支机构可以看到总部的产品,但不应更新它。 oRoles
解决了这个问题。
我如何知道分支机构用户当前正在查看总部的产品?
我正在寻找类似的请求(该查询不起作用)
select metatdata:cluster from cluster:productmybranch
或者通过 JAVA API 的任何方式
(在orientdb 2.1.0上运行)
最佳答案
关于orientdb - 从集群名称请求集群 ID,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34007756/