Skip to content

Commit e68f8c9

Browse files
committed
skip union tests on transactions
1 parent f89b369 commit e68f8c9

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
@@ -594,3 +594,8 @@ def supports_atlas_search(self):
594594
return False
595595
else:
596596
return True
597+
598+
@cached_property
599+
def supports_select_union(self):
600+
# Stage not supported inside of a multi-document transaction: $unionWith
601+
return not self.supports_transactions

0 commit comments

Comments
 (0)