I use the following mongoose query in a MEAN-environment to find and output a particular author and his corresponding books.
Author .findOne({personcode: co
Thanks JohnnyHK, and for object parameter this works:
Entity.populate({ path: 'bookids', // some other properties match: { active: true }, // some other properties select: '-_id -__v' // <-- this is the way }).then(...) // etc