Skip to content

Commit 18e73e7

Browse files
Change occurrences of ID== to IA== (#6077) (#6123)
* change occurrences of ID== to IA== * Update source/reference/operator/query/bitsAllClear.txt * change MC== to MA== --------- Co-authored-by: ianf-mongodb <[email protected]>
1 parent 807eb0d commit 18e73e7

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

source/reference/operator/query/bitsAllClear.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,13 @@ The following query uses the :query:`$bitsAllClear` operator:
8686

8787
.. code-block:: javascript
8888

89-
db.collection.find( { a: { $bitsAllClear: BinData(0, "ID==") } } )
89+
db.collection.find( { a: { $bitsAllClear: BinData(0, "IA==") } } )
9090

9191
The query:
9292

9393
- Specifies ``0`` as the first value for :bsontype:`BinData
94-
<data_binary>`, which indicates ``ID==`` is to be interpreted as
95-
binary. The base-64 value ``ID==`` in binary is ``00100000``, which
94+
<data_binary>`, which indicates ``IA==`` should be interpreted as
95+
binary. The base-64 value ``IA==`` in binary is ``00100000``, which
9696
has ``1`` in position 5.
9797

9898
- Uses :query:`$bitsAllClear` to return documents where the ``a`` field

source/reference/operator/query/bitsAllSet.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ BinData Bitmask
8383

8484
The following query uses the :query:`$bitsAllSet` operator to test
8585
whether field ``a`` has bits set at positions ``4`` and ``5``
86-
(the binary representation of ``BinData(0, "MC==")`` is ``00110000``).
86+
(the binary representation of ``BinData(0, "MA==")`` is ``00110000``).
8787

8888
.. code-block:: javascript
8989

90-
db.collection.find( { a: { $bitsAllSet: BinData(0, "MC==") } } )
90+
db.collection.find( { a: { $bitsAllSet: BinData(0, "MA==") } } )
9191

9292
The query matches the following document:
9393

source/reference/operator/query/bitsAnyClear.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ BinData Bitmask
8585
~~~~~~~~~~~~~~~
8686
The following query uses the :query:`$bitsAnyClear` operator to test
8787
whether field ``a`` has any bits clear at positions ``4`` and ``5``
88-
(the binary representation of ``BinData(0, "MC==")`` is ``00110000``).
88+
(the binary representation of ``BinData(0, "MA==")`` is ``00110000``).
8989

9090
.. code-block:: javascript
9191

92-
db.collection.find( { a: { $bitsAnyClear: BinData(0, "MC==") } } )
92+
db.collection.find( { a: { $bitsAnyClear: BinData(0, "MA==") } } )
9393

9494
The query matches the following documents:
9595

source/reference/operator/query/bitsAnySet.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@ BinData Bitmask
8484

8585
The following query uses the :query:`$bitsAnySet` operator to test
8686
whether field ``a`` has any bits set at positions ``4``, and ``5``
87-
(the binary representation of ``BinData(0, "MC==")`` is ``00110000``).
87+
(the binary representation of ``BinData(0, "MA==")`` is ``00110000``).
8888

8989
.. code-block:: javascript
9090

91-
db.collection.find( { a: { $bitsAnySet: BinData(0, "MC==") } } )
91+
db.collection.find( { a: { $bitsAnySet: BinData(0, "MA==") } } )
9292

9393
The query matches the following documents:
9494

0 commit comments

Comments
 (0)