Hi,

I am using the document model and trying to do something that should be 
easy.  I have two classes: Person and House.

Person has a property (named "home") which is a link to a House (embedded 
set?).

I currently have only one instance in each class:

Select * from Person

returns the "home" property with a reference (#22:0).  I could do two 
selects (another one with the @rid of the home), but this seems to be 
inefficent.  How do I in one select get all the properties of the Person 
with the embedded House included as well.

I thought Select *, expand(home) from Person would work but it only 
includes the expanded Home.

Best,

-Adam

-- 

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