Closed sxyuan closed 9 years ago
Right now, updating a document after doing a find with certain fields selected will cause createdAt to be modified. This change makes the createdAt and updatedAt fields selected by default.
This could cause unexpected behaviour due to a quirk with how Mongoose selects fields of nested subdocuments.
Right now, updating a document after doing a find with certain fields selected will cause createdAt to be modified. This change makes the createdAt and updatedAt fields selected by default.