Hi All,
I'm new to OrientDB and am trying to figure out how to provide information
from a query in the form that the Studio 'graph' circle will plot. In
particular, I'm selecting a subgraph with the MATCH method, but am not
clear on exactly what I should return so that both vertices and edges will
show up in the plot. In fact, for my current query Studio will not make a
plot at all, though I'm sure it's because I don't understand something
basic.
My query is like:
SELECT R,U,M
from (
MATCH
{class:User ,as:U} <-HasAuthor- {class:Miniprop, as:M} <-HasMP-
{class:Run, as:R} return U,M,R
)
WHERE M.in('hasMP').size()>1
The MATCH statement identifies a pattern, the WHERE statement filters on a
condition, and I'm using SELECT to try to project U,M,R onto something that
Studio will plot.
any suggestions are appreciated.
-john
--
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.