We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6f9608 commit 6e1a575Copy full SHA for 6e1a575
tests/document/test_indexes.py
@@ -467,6 +467,10 @@ class Test(Document):
467
assert (
468
query_plan["queryPlanner"]["winningPlan"]["stage"] == "EXPRESS_IXSCAN"
469
)
470
+ assert (
471
+ query_plan["queryPlanner"]["winningPlan"]["stage"]
472
+ == "PROJECTION_SIMPLE"
473
+ )
474
elif mongo_db < MONGODB_80:
475
query_plan = Test.objects(id=obj.id).exclude("a").explain()
476
0 commit comments