Interesting. I wonder if the "bracket" syntax is even supposed to work or 
if it only works with = ? Although that would seem pretty strange. I 
suppose putting all of it in the WHERE clause would work fine, too, and 
once the query is parsed, should produce an identical execution plan.
--Eric

On Tuesday, July 21, 2015 at 7:57:06 AM UTC-5, alessand...@gmail.com wrote:
>
> Hi,
> I'm using version 2.0.12 and I have problem with > in the code [hour>=10 
> and hour<=20]
> I solved the problem with the following query:
> select expand(out('haveLog')) from (SELECT 
> expand(out('haveMonth')[month=3].out('haveDay')[day=20].out('haveHour')) 
> FROM Year WHERE year = "2012") where hour>=10 and hour<=20
>
> Alessandro
>

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to