Is this possible with OrientDB ?
On Saturday, 23 May 2015 13:17:19 UTC+11, Brett Coffin wrote:
>
> I am building a chat room engine and I have a graph like so:
>
> User---Started--->Room----Discuss--->Item<---Own---User
>
> I would like to get all the Items and the roomId associated to the Item
> for a particular User.
>
> select
> *, in('Discuss').in('Started')[name ='julie'] as roomId
> from item
>
> so this is going threw the right 'Room' and finds the one started by
> 'Julie' but it returns Julie's Id, how do I get with this query the Id of
> that room ? It's like i need to do a 'one back' and get @rid...
>
> I am new to graphs so any pointers would be appreciated.
>
--
---
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.