Skip to content

Commit 39ed9bf

Browse files
Change occurrences of ID== to IA== (#6077)
* change occurrences of ID== to IA== * Update source/reference/operator/query/bitsAllClear.txt Co-authored-by: ianf-mongodb <85948430+ianf-mongodb@users.noreply.github.com> * change MC== to MA== --------- Co-authored-by: ianf-mongodb <85948430+ianf-mongodb@users.noreply.github.com>
1 parent f95ab1e commit 39ed9bf

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

source/reference/operator/query/bitsAllClear.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@ The following query uses the :query:`$bitsAllClear` operator:
8484

8585
.. code-block:: javascript
8686

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

8989
The query:
9090

9191
- Specifies ``0`` as the first value for :bsontype:`BinData
92-
<data_binary>`, which indicates ``ID==`` is to be interpreted as
93-
binary. The base-64 value ``ID==`` in binary is ``00100000``, which
92+
<data_binary>`, which indicates ``IA==`` should be interpreted as
93+
binary. The base-64 value ``IA==`` in binary is ``00100000``, which
9494
has ``1`` in position 5.
9595

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

source/reference/operator/query/bitsAllSet.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ BinData Bitmask
8181

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

8686
.. code-block:: javascript
8787

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

9090
The query matches the following document:
9191

source/reference/operator/query/bitsAnyClear.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ BinData Bitmask
8383
~~~~~~~~~~~~~~~
8484
The following query uses the :query:`$bitsAnyClear` operator to test
8585
whether field ``a`` has any bits clear 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: { $bitsAnyClear: BinData(0, "MC==") } } )
90+
db.collection.find( { a: { $bitsAnyClear: BinData(0, "MA==") } } )
9191

9292
The query matches the following documents:
9393

source/reference/operator/query/bitsAnySet.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ BinData Bitmask
8282

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

8787
.. code-block:: javascript
8888

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

9191
The query matches the following documents:
9292

0 commit comments

Comments
 (0)