Re: [orientdb] traverse queries for identifying the nodes and get only the edge which is connected to parent node

2017-02-09 Thread s . leto
Hi Ravikanth,

Just wanted to follow-up to see how things are going. Have you had a chance 
to test the match syntax, as suggested by Luigi? Does it help? 
Please also be aware of this: 
https://github.com/orientechnologies/orientdb/issues/7163

Let us know if you feel we can help more

Many thanks,

On Friday, 3 February 2017 12:56:11 UTC+1, Luigi Dell'Aquila wrote:
>
> Hi Ravikanth,
>
> I'm not sure I understood your use case, but probably you should consider 
> MATCH statement (http://orientdb.com/docs/2.2.x/SQL-Match.html) instead 
> of TRAVERSE
>
> Thanks
>
> Luigi
>
>
> 2017-02-03 8:04 GMT+01:00 Ravikanth Koride  >:
>
>> Hi,
>>
>> We are creating a item hierarchy , for which we are using Orient DB . 
>>
>> My question is suppose i have a item  A  parent of  -> B  parent of -> C
>> and all these are connected to a single party 
>>
>>
>> I want to traverse this and get all the links like A-> B-> C and also 
>> show only the link for the party of A and not all.
>>
>> In the Attached Image "itemhierarchy.jpeg", I want to display exactly 
>> like this  using traverse query
>> can you please help in this.
>>
>> Thanks in advance.
>>
>> Ravikanth Koride
>> Java Developer
>>
>> -- 
>>
>> --- 
>> 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-databa...@googlegroups.com .
>> 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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [orientdb] traverse queries for identifying the nodes and get only the edge which is connected to parent node

2017-02-03 Thread Luigi Dell'Aquila
Hi Ravikanth,

I'm not sure I understood your use case, but probably you should consider
MATCH statement (http://orientdb.com/docs/2.2.x/SQL-Match.html) instead of
TRAVERSE

Thanks

Luigi


2017-02-03 8:04 GMT+01:00 Ravikanth Koride :

> Hi,
>
> We are creating a item hierarchy , for which we are using Orient DB .
>
> My question is suppose i have a item  A  parent of  -> B  parent of -> C
> and all these are connected to a single party
>
>
> I want to traverse this and get all the links like A-> B-> C and also show
> only the link for the party of A and not all.
>
> In the Attached Image "itemhierarchy.jpeg", I want to display exactly like
> this  using traverse query
> can you please help in this.
>
> Thanks in advance.
>
> Ravikanth Koride
> Java Developer
>
> --
>
> ---
> 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, 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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[orientdb] traverse queries for identifying the nodes and get only the edge which is connected to parent node

2017-02-03 Thread Ravikanth Koride
Hi,

We are creating a item hierarchy , for which we are using Orient DB . 

My question is suppose i have a item  A  parent of  -> B  parent of -> C
and all these are connected to a single party 


I want to traverse this and get all the links like A-> B-> C and also show 
only the link for the party of A and not all.

In the Attached Image "itemhierarchy.jpeg", I want to display exactly like 
this  using traverse query
can you please help in this.

Thanks in advance.

Ravikanth Koride
Java Developer

-- 

--- 
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, visit https://groups.google.com/d/optout.