Yep, that makes sense to my way of thinking. I assume the weight property 
could also be used in an ORDER BY clause?
--Eric

On Monday, July 13, 2015 at 8:06:06 AM UTC-5, Riccardo Tasso wrote:
>
>
> 2015-07-13 14:58 GMT+02:00 Eric24 <[email protected] <javascript:>>:
>
>> Surely it's possible to include a property in a query, and if that 
>> property is a "weight" (regardless of what it's called), that could be use 
>> to influence the results? Does anyone have an example of such a query?
>
>
> Consider, for example you want to extract all the vertices linked from a 
> given vertex (#1:1) by a edge with weight greater than 4:
>
> SELECT out()
> FROM #1:1
> WHERE outE().weight > 4
>
> Cheers,
>    Riccardo
>

-- 

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