These are chat archives for Automattic/mongoose

18th
Apr 2019
fanshao
@fanshao
Apr 18 07:27
Hi I use Band.find({}).populate('members').exec(function(error, bands) "members" is a virtual. but I can't find the right result
Jordi EnguĂ­danos
@jenguidanos
Apr 18 09:06
Anyway in 5.x to prevent the execution of a midleware pre/post? I had read this (https://stackoverflow.com/questions/19670165/mongoose-anyway-to-prevent-middleware-save-hooks-from-executing-under-certain) but i'm not confortable adding "dirty" to the model.