New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Field with timetamp: "createdAt" not set on newly inserted document #245
Comments
/bounty 100 |
💎 $100.00 bounty created by ovaistariq |
💡 akhill10 submitted a pull request that claims the bounty. You can visit your org dashboard to reward. |
🎉🎈 @akhill10 has been awarded $100.00! 🎈🎊 |
🎉 This issue has been resolved in version 1.0.0-beta.45 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 1.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Given the following data model:
And this code to insert a new
User
:Any ideas why the result of the
console.log
doesn't show acreatedAt
property on the newly createdPost
?Note that the document does have a
createdAt
value when viewed in the web console and also when retrieving it via a query. It just seems to be a problem with the initialinsertOne
.From @JigarJoshi :
The text was updated successfully, but these errors were encountered: