These are chat archives for Automattic/mongoose

2nd
Jan 2017
Rob Lao
@viewplatgh
Jan 02 2017 04:01
Hi mongoose fans, is there a way to pass a function as query filter, e.g.
Person.
  find({}).
  where('address').pass(function (address) { /* calculate if address is in 100km from CBD...*/})
nacq
@nacq
Jan 02 2017 15:01
Hello guys, is it possible to .populate() on a post save hook?