🚀 Feature: Allow value for createdAt & updatedAt on create/update Document
🔖 Feature description
This fields auto generate on insert / update
It can be usefull to force them via data like
{
...otherFields,
"$createdAt": "string or timestamp"
}
🎤 Pitch
In case of migration for others platform, without this we need to inject data directly on MariaDB, or we'll loose this information or if we simply need to change it for any other reason
👀 Have you spent some time to check if this issue has been raised before?
- [X] I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- [X] I have read the Code of Conduct
I let it autogenerate on update. There are bound to be cases where it's necessary, but having it on hand at the time of creation already solves a lot of needs.
TODO if PR accepted, modify documentation to replicate this change
Thank you for your PR.
Our team will review it ASAP.
This can be close because it's already implemented