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
I have a collection which has few fields. I added new fields with some default values.
Now in order to query on those new fields, I tried iterating on whole collection and saving it so that the default values get stored in the db and can be queried. But it didn't create new fields in the database and hence cannot be queried. Earlier it used to work with older versions. Now I am using mongoengine 0.8.2
The text was updated successfully, but these errors were encountered:
DavidBord
added a commit
to DavidBord/mongoengine
that referenced
this issue
Aug 5, 2014
…changing database
This resolved issue Please recall fix on: Saving document doesn't create new fields in existing collection MongoEngine#620MongoEngine#1126
iici-gli
added a commit
to iici-gli/mongoengine
that referenced
this issue
Oct 18, 2015
I have a collection which has few fields. I added new fields with some default values.
Now in order to query on those new fields, I tried iterating on whole collection and saving it so that the default values get stored in the db and can be queried. But it didn't create new fields in the database and hence cannot be queried. Earlier it used to work with older versions. Now I am using mongoengine 0.8.2
The text was updated successfully, but these errors were encountered: