1602 / jugglingdb

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

hasMany relation destroy method fixed #330

Closed syadykin closed 10 years ago

syadykin commented 10 years ago

Hi, the destroy method for hasMany relation is completely broken, i tried to fix it.

1602 commented 10 years ago

Hey, thanks for fixing it, but it would be great to have test case to prevent it from further regressions.

syadykin commented 10 years ago

Hi, tests were added to pull request

1602 commented 10 years ago

Thank you!