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

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

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

      > 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 Eliot Horowitz (Inactive)
            Reporter:
            gf gf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: