These are chat archives for Automattic/mongoose

Apr 2015
Apr 12 2015 06:38
Never mind. Got it working :-)
Valeri Karpov
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