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
The following code runs fine in pymongo and returns the desired document:
col.insert_one({'f': 'v'}) col.find_one({'f': 'v', '$comment': 'hello'})
But in mongomock it returns nothing, whereas if the comment is omitted it works as desired.
The text was updated successfully, but these errors were encountered:
mongomock#273 omit $comment when filtering
9970d11
b7bc98d
Fixed by @DeoLeung in 9970d11 since v3.9
Sorry, something went wrong.
No branches or pull requests
The following code runs fine in pymongo and returns the desired document:
But in mongomock it returns nothing, whereas if the comment is omitted it works as desired.
The text was updated successfully, but these errors were encountered: