Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-320

inaccurate count() when using $all

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.1.3
    • 1.1.0
    • Querying
    • None
    • Ubuntu 9.04, EC2 small instance

    Description

      >>> model.find({"tags":{"$all":["bittorrent","client"]}}).count()
      19
      >>> len(list(model.find({"tags":{"$all":["bittorrent","client"]}})))
      1

      that doesn't seem right to me. let me know what other info you need.

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            thekrillr aaron krill
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: