From 8ad36ced5b321ce62bab9dc4b4bad5a27f50fb52 Mon Sep 17 00:00:00 2001 From: Rachna Date: Wed, 2 Dec 2015 12:32:25 +0530 Subject: [PATCH] Update bitsAnySet.txt The example should use `35` for bit comparison instead of `50` which is not mentioned. --- source/reference/operator/query/bitsAnySet.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/reference/operator/query/bitsAnySet.txt b/source/reference/operator/query/bitsAnySet.txt index 6d06989bfba..23b12f8bb5b 100644 --- a/source/reference/operator/query/bitsAnySet.txt +++ b/source/reference/operator/query/bitsAnySet.txt @@ -59,7 +59,7 @@ because the binary representation of the bitmask ``35`` is ``00100011``. .. code-block:: javascript - db.collection.find( { a: { $bitsAnySet: 50 } } ) + db.collection.find( { a: { $bitsAnySet: 35 } } ) The query matches the following documents: