orientechnologies / orientjs

The official fast, lightweight node.js client for OrientDB
http://orientdb.com
Other
326 stars 68 forks source link

.unwind not working #367

Closed petervavro closed 5 years ago

petervavro commented 5 years ago
var r = session.select().from('TableA').unwind('Field')
console.log(r.toString())

returns : SELECT * FROM TableA

It ignores unwind. What is wrong with this please ?

wolf4ood commented 5 years ago

Hi @petervavro

sorry for the late response, i will give it a look tomorrow

Thanks

wolf4ood commented 5 years ago

hi @petervavro

i've just pushed a fix for this. It will be available in the next OrientJS release

Thanks

wolf4ood commented 5 years ago

Hi @petervavro

i've just published on npm OrientJS 3.0.5 with this fix

Thanks

petervavro commented 5 years ago

I did upgrade to 3.0.5 but unfortunately, it still does not work.

wolf4ood commented 5 years ago

Hi @petervavro

how is your code different from this test case?

https://github.com/orientechnologies/orientjs/blob/3.0.5/test/database/database-statement-test.js#L706

Thanks