I don't know what's properties of Comment vertex, so which's another way to 
do this?

On Tuesday, August 30, 2016 at 10:11:27 AM UTC+7, Oleksandr Gubchenko wrote:
>
> You need to specify each property name after the edge name: 
> OUT('HasComments')).property1, OUT('HasComments')).property2
> etc
>
> Il giorno martedì 30 agosto 2016 04:57:47 UTC+2, Quốc Nam Lê ha scritto:
>>
>> I have another question.
>> I want to see all properties of Comment vertex, and Record ID of Post 
>> vertex in query result.
>> So, I try to run select statement:
>>
>> SELECT EXPAND(OUT('HasComments')), @rid as post_id FROM #10:1
>>
>> But this statememt is wrong.
>> Please tell me how to do this.
>>
>>
>> On Tuesday, August 16, 2016 at 11:32:22 AM UTC+7, Quốc Nam Lê wrote:
>>>
>>> In my case, I have 2 vertices and 1 edge follow:
>>> Post (#10:1) ----> HasComments -----> Comment (#11:1, #11:2, ...)
>>>  (V)   out          (E)              (in)       (V)
>>>
>>> So, What is the best query (speed, performance) to get all Comments from 
>>> a Post through HasComments?
>>> Here is my query:
>>>
>>> SELECT EXPAND(OUT('HasComments')) FROM #10:1
>>>
>>

-- 

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