retrieve linked documents in single row using fetching plans

15 views
Skip to first unread message

Krishna Kumar

unread,
Apr 16, 2015, 7:27:56 AM4/16/15
to orient-...@googlegroups.com
Hi,

I have two classes class A(id,name), class B(id,salary) with linkset between A.id to B.id ........when i use select from A it returns a data along with links.....but not B data along with A.......so is there any way to fetch data as combined


Colin

unread,
Apr 16, 2015, 5:26:33 PM4/16/15
to orient-...@googlegroups.com
Hi Krishna,

Linksets are uni-directional.  The target record of a link does not know about its owner.

If you want bi-directional links (edges) that are automatically maintained by the database, you'll want to create vertices connected by edges as a function of the graph database.

-Colin

Orient Technologies

The Company behind OrientDB

Reply all
Reply to author
Forward
0 new messages