Thanks guys! Both answers are informative.
--
---
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+unsubscr...@googlegroups.com.
For more options,
Hi Pete
You can find my answer on SO
Thanks
Luigi
2017-01-16 19:36 GMT+01:00 Peter Figliozzi :
> I would like to retrieve all vertices in a SQL query that have at least
> one connection (non-zero degree). Just returning the rid is probably OK,
> but it would be nice
You can start with: select @rid,$i,$o from V let
i=in().size(),o=out().size() where sum($i,$o)=1
Il giorno lunedì 16 gennaio 2017 19:43:12 UTC+1, Peter Figliozzi ha scritto:
>
> I would like to retrieve all vertices in a SQL query that have at least
> one connection (non-zero degree). Just