These are chat archives for Automattic/mongoose

22nd
Jul 2017
Pudding-Ship
@Pudding-Ship
Jul 22 2017 09:22
Is it possible to call .populate after a query? E.G. foo = await Foo.findOne({ _id: "blah"}); then do Foo.populate('bazz')?
Thomas Havlik
@thavlik
Jul 22 2017 13:04
@Pudding-Ship isn't execution deferred until you call exec() ?
Adel
@AdelMahjoub
Jul 22 2017 22:38
is this what happens behind the scenes when you call Model.create with mongoose ?