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