fmish
fmish

Reputation: 131

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

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

Upvotes: 0

Views: 114

Answers (1)

fmish
fmish

Reputation: 131

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.

Upvotes: 0

Related Questions