can i have a orient query for the same

On Tuesday, July 19, 2016 at 4:27:51 PM UTC+5:30, Amrutha Valli wrote:
>
> i have the below classes
>
> A,B,C,D,E,F  with the properties name and id and all are related with has 
> relation the query didnt work for me
>
> On Tuesday, July 19, 2016 at 4:16:16 PM UTC+5:30, [email protected] 
> wrote:
>>
>> Hi, with 
>> g.V.has('@class','V')
>>
>> it get all vertices of class "V" while with
>>   
>> has('name',T.in,['A','B','C','D'])
>>
>> it get all the previous vertices where the field "name" is one of A,B,C,D.
>>
>> The equivalent OSQL query is :
>> select from v where name contains ["A","B","C","D"]
>>
>>

-- 

--- 
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.

Reply via email to