REST Interface cannot query string of numbers

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Usability
    • None
    • Replication
    • ALL
    • Hide

      db.test.insert({_id:1})
      db.test.insert({_id:"1", val:"success"})

      //Returns only the int value
      curl http://localhost:28017/test/test/?filter__id=1

      There is no way to query out the "success" document using the REST interface alone. Using various quotation marks will only get you string escaped quotes.

      Show
      db.test.insert({_id:1}) db.test.insert({_id:"1", val:"success"}) //Returns only the int value curl http://localhost:28017/test/test/?filter__id=1 There is no way to query out the "success" document using the REST interface alone. Using various quotation marks will only get you string escaped quotes.
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The rest interface will not allow you to query a string of numbers, these are always coerced to an integer value

            Assignee:
            [DO NOT USE] Backlog - Replication Team
            Reporter:
            David Hows (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: