Select edge attributes and also expand/populate in and out in waterline

207 views Asked by At

How can I populate in and out of edges in waterline i am using waterline-oreintdb adopter

here is my query

select *,out.* from sellings // selling is edge class

Thanks

1

There are 1 answers

4
Dário On BEST ANSWER

This sounds more like an OrientDB question than an waterline one. One option would be to use a fetch plan (OrientDB Docs):

select @this.toJSON('fetchPlan:in:1 out:1') from selling