These are chat archives for Automattic/mongoose

9th
May 2016
Vlado Tesanovic
@vladotesanovic
May 09 2016 09:08
What you think about switching to different database in application? Mongoose have option useDb for that?
pdiogo
@PedroMD
May 09 2016 09:29
thanks @necinc - that turned out to be my approach, but I was hoping there could be a better way :)
Kevin Schiffer
@kschiffer
May 09 2016 19:42
Hey! Can anyone tell me how to find a (parent)-document by a discriminator property? i have a model with several discriminated sub-models and need to query the base model so i can find documents with different types (__t) and update them at once. i thought i could just run a query like normal on the base model, but it wouldnt give me any results, although i get all different types when i query without conditions.