1602 / jugglingdb

Multi-database ORM for nodejs: redis, mongodb, mysql, sqlite3, postgresql, arango, in-memory...
http://1602.github.io/jugglingdb/
2.04k stars 242 forks source link

Additional tests for relation #266

Closed bioform closed 11 years ago

bioform commented 11 years ago

This pull request is related with https://github.com/1602/jugglingdb/issues/264 The first added test(sync mode) fails(but it should not) The second one(async mode) passes, but it doesn't pass on mongodb-adapter

1602 commented 11 years ago

It's impossible to get instance when called as sync getter. Already test case for that in 'belongsTo' secion.