ah, I suggest you to define an index (NOTUNIQUE) on the score property,
this query will become extremely fast

Luigi


2015-06-12 18:43 GMT+02:00 Luigi Dell'Aquila <[email protected]>:

> Hi Marteen,
>
> the easiest thing you can do is this:
>
> select outV().name as personName, inV().name as taskName, score from
> Performs order by score DESC
>
> Luigi
>
>
> 2015-06-12 18:16 GMT+02:00 Maarten Berkenbosch <[email protected]>:
>
>> How do I join person.name, performs.score, task.name into one query
>> result that displays the top 10 scores?
>> Or should I assemble the list with multiple queries?
>>
>> (Vertex) Person.name
>> (Edge) Performs.score
>> (Vertex) Task.name
>>
>> --
>>
>> ---
>> 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.
>>
>
>

-- 

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