In OSQL I would ask for:
SELECT
FROM Item
WHERE name == 'test' AND in('has').name contains 'name1'
Riccardo
2014-02-25 22:10 GMT+01:00 Andrey Yesyev <[email protected]>:
> Hi there,
>
> I have a simple graph
>
>
> https://drive.google.com/file/d/0B40PKGeiVlEFSmFfeHRtU2d6ZHM/edit?usp=sharing
>
> I need to find Item with name="test" which has in_HAS from Case with
> name="case1".
> How would you do this?
>
> Thanks!
>
> -Andrey
>
> --
>
> ---
> 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/groups/opt_out.
>
--
---
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/groups/opt_out.