Hey guys
It appears to have entered into a infinite loop when I use both option 'reverse' and option 'autoFetch' in one association
Is this a bug?
My code:
var Pet = db.define('pet', {
name : String
});
var Person = db.define('person', {
name : String
});
Person.hasMany("pets", Pet, {
}, {
autoFetch:true,
reverse : "owners"
});
Person.get(1, function(err, site) {
return res.end(site);
});