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

Fix empty callbacks with many includes #420

Closed chok closed 10 years ago

chok commented 10 years ago

In case of many includes, if the first is null the general callback is called but it shouldn't.

Callback was called potentially many times.