optinally don't check field names in JS (WAS: field names cannot start with $ [$set])

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Trivial - P5
    • 1.1.2
    • Affects Version/s: 1.0.0
    • Component/s: JavaScript
    • None
    • Environment:
      FreeBSD
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      > db.eval("var cursor = db.oplog.$main.find(); while (row = cursor.next()) db.tempOplog.save(row);");
      Thu Oct 1 22:09:45 JS Error: uncaught exception:

      {"errno" : -3 , "errmsg" : "invoke failed: JS Error: uncaught exception: field names cannot start with $ [$set] " , "ok" : 0}

      local
      >

              Assignee:
              Eliot Horowitz (Inactive)
              Reporter:
              gf
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: