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

mongoexport query doesn't support advanced queries

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • None
    • 2.0.1
    • Tools
    • Fully Compatible
    • Linux

    Description

      When I try and do a mongoexport using an an advanced query, I get 0 records even if there are matching objects.

      mongoexport --csv -h localhost -d contents -c Author -q "{'facebookName':{'$ne':null}}" -f profileUrl,facebookName

      I tried a few of the other dollar operators such as $in and $nin and they all appear to have the same result.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ddunlop@forbes.com David Dunlop
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: