Logging issue in Collection#find_one

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 1.4.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Then calling find_one, it merge :limit => -1 option to selector. So limit options don't appear in log.

      This confusing, then during debugging session you get some thing like this in log:
      MONGODB my_test['managers'].find({})

      The first idea is why I fetch all records??? And only in profiler you can see, that actually only one record was fetched.

              Assignee:
              Kyle Banker (Inactive)
              Reporter:
              Gregory Man
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: