Skip to content
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

Add support join extra conditions #7

Conversation

WaVEV
Copy link
Collaborator

@WaVEV WaVEV commented Sep 17, 2024

Change IntegerField to ObjectIdField

Animal.objects.exclude(tags__tag="fatty"),
[self.lion],
)
# Exists is not supported in MongoDB
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added this change to the fork. I think that's all this branch requires, but let me know.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, if we aren't using objectIdField we just need to modify this test only.

@WaVEV WaVEV force-pushed the add-support-join-extra-conditions branch from e4e3c60 to ee622f9 Compare September 24, 2024 15:17
@timgraham timgraham force-pushed the mongodb-5.0.x branch 3 times, most recently from 5deea06 to 353d6b7 Compare September 30, 2024 16:18
@timgraham timgraham force-pushed the mongodb-5.0.x branch 4 times, most recently from 03b9901 to 5a247e8 Compare October 4, 2024 15:03
@timgraham
Copy link
Collaborator

Changes merged.

@timgraham timgraham closed this Oct 4, 2024
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.

2 participants