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

mongoexport query doesn't support advanced queries

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: 2.0.1
    • Component/s: Tools
    • Fully Compatible
    • Linux

      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.

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

              Created:
              Updated:
              Resolved: