Page 1 of 1

How do I copy "_createdAt" database field to another database field I created?

Posted: Fri Jan 12, 2018 9:41 pm
by ssquire

Is there an easy way to do this? I really need an answer to this issue.


How do I copy "_createdAt" database field to another database field I created?

Posted: Mon Jan 15, 2018 10:45 am
by Illya Stepanov

Hello Steven -

Even MongoDB does not allow to do this in an easy way, the approach would be to read "_createdAt" for every object and insert it into a new field.