-
Type:
New Feature
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: django
-
None
-
None
-
Python Drivers
-
None
-
None
-
None
-
None
-
None
-
None
MongoDB doesn't have dedicated operators like it does for $unionWith, but it may be possible to emulate these operations. Emanuel says, "I think difference could be handled with a $lookup for the inner query (a similar flow to unionWith) followed by a $match."
Set DatabaseFeatures.supports_select_difference and supports_select_intersection = True to run Django's tests in tests/queries/test_qs_combinators.py.