orientjs: query result Bag.all() returns empty array

115 views Asked by At

Im using OrientJS with nodeJS to perform a query using .query() method. I get results, but I cant extract the in_ and out_ fields, as they`re of a 'Bag' type.

When I try .all() method to get the results I get an array[0]. When I perform the same query in Studio I see that the in_ and out_ fields are not empty.

Stdio result for queryenter image description here

1

There are 1 answers

0
fmish On

Our edges are tree based, and tree based ridbags are not currently supported by OrientJs as can be seen here. This is why we did not get any results. Embedded RIDbags are supported.