I want to be able to set the entity field createdDate
only when document is inserted. Every other attempt to change the field should pass silently without changing the field value.
Asked
Active
Viewed 88 times
0

Matko
- 3,386
- 4
- 21
- 35
-
1This might be what you are looking for... [Mongoose schema secured field](http://stackoverflow.com/questions/13555180/mongoose-schema-secured-field/29422039#29422039) – Francesco Pezzella Apr 01 '16 at 21:55
-
Yes, it is. It provided answer to my question. Same answer on two questions formulated in different way. – Matko Apr 02 '16 at 08:52