LearnBoost/mongoose — Issue #626: populate array of objects
Author: madhums
Created: 2011-11-26 15:09:00+00:00
State: open

Is it possible to populate set of results?

I am doing something like this and I can't seem to get the populated images in the items object.

```js
Item
.find()
.populate('images')
.limit(4)
.desc('created_at')
.run(function(err, items) {
for (var item in items)
items[item].images.url // item is not populated with images here
});
```

is there any other way of doing this? or is it not supported?