Skip to content

Commit 8db18d9

Browse files
committed
skip union tests on transactions
1 parent 57dcc2f commit 8db18d9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

django_mongodb_backend/features.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,3 +589,8 @@ def supports_atlas_search(self):
589589
return False
590590
else:
591591
return True
592+
593+
@cached_property
594+
def supports_select_union(self):
595+
# Stage not supported inside of a multi-document transaction: $unionWith
596+
return not self.supports_transactions

0 commit comments

Comments
 (0)