These are chat archives for Automattic/mongoose

Sep 2017
Bruno Barros
Sep 25 2017 13:43
Hey everyone! Is there a shorthand to retrieve an attribute after a query is already done? Let's say there is a common entity used generally found like this Entity.findOne({id: 'xx'}, 'prop1 prop2'). Then sometimes I'd like to access quickly to prop3. Is there something like entity.populate('prop3')?
Sajid Unar
Sep 25 2017 17:41
@karthikiyengar how about using the DB Ref thins? thats better or this lookup ?
Hassan Sani
Sep 25 2017 22:22
Can anybody help on how I can host mongodb on google cloud