We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Let's say you are interested to know the dates that different fields were updated in a document.
Am I able to use a Date field rather than "version"? Or does this feature already exist and I'm showing my nativity?
Currently data would look like this (I assume):
{ _id: "4c6b9456f61f000000007ba6" latitude: [ { version: 1, value: 141.1100011 }, { version: 6, value: 141.1252105 } ] }
Proposed Option would be stored like this
{ _id: "4c6b9456f61f000000007ba6" latitude: [ { date: 20150101, value: 141.1100011 }, { date: 20150201, value: 141.1252105 } ] }
The text was updated successfully, but these errors were encountered:
I had the same concern and ending up using mongoose timestamps option property in my shema: http://mongoosejs.com/docs/guide.html#timestamps That did the trick
Sorry, something went wrong.
No branches or pull requests
Let's say you are interested to know the dates that different fields were updated in a document.
Am I able to use a Date field rather than "version"? Or does this feature already exist and I'm showing my nativity?
Currently data would look like this (I assume):
Proposed Option would be stored like this
The text was updated successfully, but these errors were encountered: