Mongoose: findOneAndUpdate does not update an existing field
问题 I am trying to fetch every minute a web API data to MongoDB, save it and update when there is any change. The problem is the volume (every field) field is updated only (happens after a new trading day starts) when the new date is added to ChildSchemaData - subdocumet. All this data is used to build a daily (NOT hourly/minute ) stock chart on front-end. And I am trying to stream it from database but since the volume (and all other fields in subdocument) is not updated in database nothing is