These are chat archives for Automattic/mongoose

12th
Apr 2015
rahmanwaliur
@rahmanwaliur
Apr 12 2015 06:38
Never mind. Got it working :-)
Valeri Karpov
@vkarpov15
Apr 12 2015 15:21
Do a find to load the doc from the db or do an update. You can also manually tweak doc.isNew to false. But yeah, new MyModel() gets you a new doc every time