I have a bug that i can\'t resolve because for the first time it happen to me.
here is my query :
Pack.find( {idclient: clientId }
As Told Model.find() generates an array so here is how I approach the situation:
Kitten.find(function (err, kittens) { if (err) return console.error(err); kittens.forEach(function(kitten){ console.log(kitten.name); }); });
This seems to me the most clear way to access the properties