[DOCS-8191] Comment on: "manual/reference/operator/query/bitsAllSet.txt" Created: 29/Jun/16  Updated: 03/Nov/17  Resolved: 20/Sep/17

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Timothy Chen
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: https://docs.mongodb.com/manual/reference/operator/query/bitsAllSet/
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36
Referrer: https://www.google.com/
Screen Resolution: 2560 x 1440


Participants:
Days since reply: 6 years, 29 weeks, 2 days ago

 Description   

There is an error in this section: The example shows 35 but the test explains about 50. The value to use is 50.

"The following query uses the $bitsAllSet operator to test whether field a has bits set at positions 1, 4, and 5 (the binary representation of the bitmask 50 is 00110010).

db.collection.find( { a:

{ $bitsAllSet: 35 }

} )"



 Comments   
Comment by Githook User [ 24/Jul/17 ]

Author:

{u'username': u'timmyichen', u'name': u'Tim Chen', u'email': u'timmy.i.chen@gmail.com'}

Message: DOCS-8191 bitsAllSet 35 -> 50 typo

Signed-off-by: kay <kay.kim@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/6cc441378b8ecaf459277946f53ebfffdb49645b

Generated at Thu Feb 08 07:55:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.