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
Using MongoDb, updates on optional fields corrupt the database.
Test case : edited is an optional field of a record type stored in the database, and initially equals {none}. At some point, the field is updated :
edited
{none}
/path/to/[..]/edited <- {some: Date.now()}
With the following result, in MongoDb :
"edited" : { "none" : null, "some" : ISODate("2014-07-23T11:46:07.579Z") }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Using MongoDb, updates on optional fields corrupt the database.
Test case :
edited
is an optional field of a record type stored in the database, and initially equals{none}
. At some point, the field is updated :With the following result, in MongoDb :
The text was updated successfully, but these errors were encountered: