[DOCS-1747] Comment on: "manual/faq/developers.txt" Created: 25/Jul/13  Updated: 03/Nov/17  Resolved: 02/Aug/13

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

Type: Improvement Priority: Major - P3
Reporter: auto Assignee: Kay Kim (Inactive)
Resolution: Cannot Reproduce Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Mac OS X 10.8.4, MongoDB 2.4.5

Location: http://docs.mongodb.org/manual/faq/developers/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36
Referrer: https://www.google.com/
Screen Resolution: 1440 x 900
repo: docs
source: faq/developers


Issue Links:
Related
related to DOCS-1771 Comment on: "manual/reference/operato... Closed
Participants:
Days since reply: 10 years, 26 weeks, 1 day ago

 Description   

The directions for finding values which are null do not work. I entered the following query in my own deployment (version 2.4.5):

mongo> db.traffic.find(

{country: null}

) // and it found nothing, and
mongo> db.traffic.find({country: {$type: 10}}) // and it found nothing, but
mongo> db.traffic.find({country: {$type: 6}}).limit(1) // found

{
"_id" : ObjectId("51efe3076853a50b0000355d"),
"ip" : "10.21.18.182",
"method" : "GET",
"timestamp" : ISODate("2013-07-24T14:21:59.168Z"),
"url" : "/box/7fc027dce019bf923c19895e2eab7f84?status=waiting",
"country" : null
}

I tried looking at the source code on GitHub, but I haven't found the issue yet. The documentation is definitely wrong, and it really sucks that the GitHub project (https://github.com/mongodb/mongo) has disabled the "Issues" thing.



 Comments   
Comment by Sean Wilkinson [ 20/Aug/13 ]

The same problem has been re-opened as a separate ticket: https://jira.mongodb.org/browse/SERVER-10586.

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