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])

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • 1.1.2
    • 1.0.0
    • JavaScript
    • None
    • FreeBSD

    Description

      > 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
      >

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: