File tree Expand file tree Collapse file tree 3 files changed +66
-0
lines changed Expand file tree Collapse file tree 3 files changed +66
-0
lines changed Original file line number Diff line number Diff line change 1+ .. list-table ::
2+ :header-rows: 1
3+ :widths: 20 80
4+
5+ * - Name
6+ - Description
7+
8+ * - :expression: `$bitAnd `
9+ - Returns the result of a bitwise ``and `` operation on an array of
10+ ``int `` or ``long `` values.
11+
12+ .. versionadded :: 6.3
13+
14+ * - :expression: `$bitNot `
15+ - Returns the result of a bitwise ``not `` operation on a single argument
16+ or an array that contains a single ``int `` or ``long `` value.
17+
18+ .. versionadded :: 6.3
19+
20+ * - :expression: `$bitOr `
21+ - Returns the result of a bitwise ``or `` operation on an array of
22+ ``int `` or ``long `` values.
23+
24+ .. versionadded :: 6.3
25+
26+ * - :expression: `$bitXor `
27+ - Returns the result of a bitwise ``xor `` (exclusive or) operation on an
28+ array of ``int `` and ``long `` values.
29+
30+ .. versionadded :: 6.3
Original file line number Diff line number Diff line change @@ -41,6 +41,11 @@ Array Expression Operators
4141
4242.. include:: /includes/extracts/agg-operators-array.rst
4343
44+ Bitwise Operators
45+ ~~~~~~~~~~~~~~~~~
46+
47+ .. include:: /includes/bitwise-operators.rst
48+
4449Boolean Expression Operators
4550~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4651
Original file line number Diff line number Diff line change @@ -41,6 +41,37 @@ Issues fixed:
4141
4242- :ref:`6.3.1-changelog`
4343
44+ Aggregation
45+ -----------
46+
47+ New Aggregation Operators
48+ ~~~~~~~~~~~~~~~~~~~~~~~~~
49+
50+ MongoDB 6.3 introduces the following aggregation operators:
51+
52+ .. list-table::
53+ :header-rows: 1
54+ :widths: 20 80
55+
56+ * - Operator
57+ - Description
58+
59+ * - :expression:`$bitAnd`
60+ - Returns the result of a bitwise ``and`` operation on an array of
61+ ``int`` or ``long`` values.
62+
63+ * - :expression:`$bitNot`
64+ - Returns the result of a bitwise ``not`` operation on a single argument
65+ or an array that contains a single ``int`` or ``long`` value.
66+
67+ * - :expression:`$bitOr`
68+ - Returns the result of a bitwise ``or`` operation on an array of
69+ ``int`` or ``long`` values.
70+
71+ * - :expression:`$bitXor`
72+ - Returns the result of a bitwise ``xor`` (exclusive or) operation on an
73+ array of ``int`` and ``long`` values.
74+
4475General Changes
4576---------------
4677
You can’t perform that action at this time.
0 commit comments