You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful to have automatically generated fields createdAt and updatedAt that are kept up to date when entities are updated.
classMyModelextendsModel<unknown>{autoCreatedAt=true;// false in super classautoUpdatedAt=true;// false in super class}
The createdAt is set at the initial creation and remains unchanged. It is set only when using DocumentClient.create method. And the validity of the field is not maintained by dynamodels on DocumentClient.save.
Please make sure to update the updatedAt during subsequent calls to the DocumentClient.update and DocumentClient.save methods.
The text was updated successfully, but these errors were encountered:
It would be useful to have automatically generated fields createdAt and updatedAt that are kept up to date when entities are updated.
The
createdAt
is set at the initial creation and remains unchanged. It is set only when usingDocumentClient.create
method. And the validity of the field is not maintained by dynamodels onDocumentClient.save
.Please make sure to update the updatedAt during subsequent calls to the
DocumentClient.update
andDocumentClient.save
methods.The text was updated successfully, but these errors were encountered: