8000 Add support to $type operator by JPDevelop · Pull Request #838 · mongomock/mongomock · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add support to $type operator #838

New issue

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

JPDevelop
Copy link

Added support to mongo's $type operator for:

  • int
  • long
  • bool
  • string
  • object
  • null
  • missing

@rob-potter
Copy link

@mdomke is there anythign we can do to help get this merged? My company has a number of tests that are patching around this, so we can put a bit of time in if needed.

@mdomke
Copy link
Member
mdomke commented Nov 5, 2024

@rob-potter Can you include the changes from the develop-branch, so that the test-pipeline gets executed?

@rob-potter
Copy link

@mdomke I believe @JPDevelop just did so, thanks both of you

@mdomke
Copy link
Member
mdomke commented Nov 6, 2024

@JPDevelop @rob-potter there was an issue with the GridFS implementation starting from pymongo 4.9 that made the tests fail on the develop branch (see #903). This was fixed by #905. Can you merge the develop branch again? This should remove all the failing tests that are unrelated to your change.

@rob-potter
Copy link

Thanks @JPDevelop

@EmanHamdyMohamed
Copy link

@JPDevelop can you please add date type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0