Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1747

Comment on: "manual/faq/developers.txt"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Cannot Reproduce
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    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.

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            auto auto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 26 weeks, 1 day ago