@Alessandro: Ah, very nice! To me, this syntax actually makes more sense.
:) But regardless, it also seems more flexible. For example, I think this
should be possible, right?

SELECT
expand(out('haveMonth')[month=3].out('haveDay')[day=20].out('haveHour')[hour>=10
and hour<=20].out('haveLogs')) FROM Year WHERE year = "2012"

I plan to run some tests, but in the mean time, any thoughts on performance
of this approach vs. the other?

--Eric


On Mon, Jul 20, 2015 at 2:29 AM, <alessandrorot...@gmail.com> wrote:

> Hi Eric,
> the query would be something like :
>
> SELECT
> expand(out('haveMonth')[month=3].out('haveDay')[day=20].out('haveHour')[hour=10].out('haveLogs'))
> FROM Year WHERE year = "2012"
>
> Regards,
> Alessandro
>
> --
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "OrientDB" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/orient-database/s7DO-_gygh0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> orient-database+unsubscr...@googlegroups.com.
> 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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to