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
41
41
42
42
.. include:: /includes/extracts/agg-operators-array.rst
43
43
44
+ Bitwise Operators
45
+ ~~~~~~~~~~~~~~~~~
46
+
47
+ .. include:: /includes/bitwise-operators.rst
48
+
44
49
Boolean Expression Operators
45
50
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
46
51
Original file line number Diff line number Diff line change @@ -42,6 +42,37 @@ Issues fixed:
42
42
43
43
- :ref:`6.3.1-changelog`
44
44
45
+ Aggregation
46
+ -----------
47
+
48
+ New Aggregation Operators
49
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
50
+
51
+ MongoDB 6.3 introduces the following aggregation operators:
52
+
53
+ .. list-table::
54
+ :header-rows: 1
55
+ :widths: 20 80
56
+
57
+ * - Operator
58
+ - Description
59
+
60
+ * - :expression:`$bitAnd`
61
+ - Returns the result of a bitwise ``and`` operation on an array of
62
+ ``int`` or ``long`` values.
63
+
64
+ * - :expression:`$bitNot`
65
+ - Returns the result of a bitwise ``not`` operation on a single argument
66
+ or an array that contains a single ``int`` or ``long`` value.
67
+
68
+ * - :expression:`$bitOr`
69
+ - Returns the result of a bitwise ``or`` operation on an array of
70
+ ``int`` or ``long`` values.
71
+
72
+ * - :expression:`$bitXor`
73
+ - Returns the result of a bitwise ``xor`` (exclusive or) operation on an
74
+ array of ``int`` and ``long`` values.
75
+
45
76
General Changes
46
77
---------------
47
78
You can’t perform that action at this time.
0 commit comments