Skip to content

Commit 0d13a13

Browse files
committed
DOCSP-13735 add empty array result for setIntersection
1 parent a1383c4 commit 0d13a13

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/reference/operator/aggregation/setIntersection.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ Behavior
3838

3939
.. include:: /includes/important-set-operator-semantics.rst
4040

41+
If no intersections are found (i.e. the input arrays contain no common
42+
elements), :expression:`$setIntersection` returns an empty array.
43+
4144
.. include:: /includes/extracts/fact-agg-top-level-expressions-setIntersection.rst
4245

4346
.. list-table::

0 commit comments

Comments
 (0)