Discussion:
[orientdb] How can I read edges from a cluster of E
r***@gmail.com
2018-05-27 12:20:53 UTC
Permalink
I can run a query such as follow to read edges from cluster 1,2 of IP class:


select from cluster:[ip_1, ip_2]


but I can't run such a query for all edges:


select from cluster:[e_1, e_2]


It always returns null. Would you mind telling me how I can do that?
--
---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Luigi Dell'Aquila
2018-05-28 07:07:37 UTC
Permalink
Hi,

The syntax is correct, if the clusters contain data they will be returned.
Are you sure that clusters e_1, e_2 contain records?

Thanks

Luigi
Post by r***@gmail.com
select from cluster:[ip_1, ip_2]
select from cluster:[e_1, e_2]
It always returns null. Would you mind telling me how I can do that?
--
---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...