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
{{ message }}
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.
When running findAndyModify commands with a SON object in the following context the query argument is put at the start of the SON object thus causing an error with Mongo
from bson.son import SON
from bson import ObjectId
q = SON()
q['findAndModify'] = 'collection'
q['query'] = {"_id" : ObjectId("valid-object-id")}
database.command(q, callback=callback)
The SON object is re-ordered putting the query item in front of findAndModify and thus the query fails.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When running findAndyModify commands with a SON object in the following context the query argument is put at the start of the SON object thus causing an error with Mongo
The SON object is re-ordered putting the query item in front of findAndModify and thus the query fails.
The text was updated successfully, but these errors were encountered: