๐ Feature: Allow value for createdAt & updatedAt on create/update Document
fliitor opened this issue ยท 3 comments
fliitor commented
๐ 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?
- I checked and didn't find similar issue
๐ข Have you read the Code of Conduct?
- I have read the Code of Conduct
fliitor commented
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
joeyouss commented
Thank you for your PR.
Our team will review it ASAP.
fliitor commented
This can be close because it's already implemented