Would Gremlin syntax be better for this versus OrientDB's SQL?
On Thursday, December 11, 2014 12:39:13 PM UTC-5, Emin Agassi wrote:
>
> Some clarification to my question:
>
> I know I can use the Edge label or Class to traverse the graph for example:
>
> traverse out('hasA') from #11:26085
>
> But, if all of my Edges are simply E edges and contain a Rel property with
> a different value. How do I filter the Edges in the collection for given
> Vertex while traversing the graph:
>
> E1 - Rel = 'hasA'
> E2 - Rel = 'isA'
>
>
>
>
> On Thursday, December 11, 2014 9:33:04 AM UTC-5, Emin Agassi wrote:
>>
>>
>> Hello All,
>>
>> I need help with the basic traversing of Edges with properties.
>> I have Vertex with OUT containing multiple Edges with one Property: Name.
>> Each Edge has IN and OUT and Name property.
>> I need to traverse only edges with a specific Name and retrieve all
>> connected OUT Vertexes.
>> When I call this:
>>
>> traverse out() from #11:26085
>>
>> I get back a list of Vertexes but this traverses all Edges versus only
>> Edges with a given Name.
>>
>> Thanks!
>>
>
--
---
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.