These are chat archives for Automattic/mongoose

6th
Dec 2017
Paul "Joey" Clark
@joeytwiddle
Dec 06 2017 08:54
@fspy how are you trying to update the document? You should either:
  1. Get the document (with findOne()), modify it, and then .save() it, or
  2. Perform model.update({find_the_document}, {new_field_to_set})
Senthilbalajiganesan
@senthilbalajiganesan
Dec 06 2017 17:57
hey all !! I'm senthil from india!!