These are chat archives for Automattic/mongoose

8th
Mar 2016
Seo ji woong
@Seojiwoong
Mar 08 2016 06:22 UTC
@jhyland87 If you want to find changed documents Id , you should use findandupdate.
If 'update' give you changed documents Id after update, then what is difference between update and findandupdate?
Seo ji woong
@Seojiwoong
Mar 08 2016 06:30 UTC
I think 'update' don't give you changed documents Id isn't potential problem because most of user don't need that.
If every 'update' give you changed documents Id (or any key in document) it make 'update's performance very poor
Seo ji woong
@Seojiwoong
Mar 08 2016 06:44 UTC
For me, what I need is how many document is matched on query, how many document is changed
most of user would agree with that