Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1268

Unable to insert via shell using the strict dates

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None

    Description

      db.bug.insert(
      {
      "meta" : {
      "dateTime" :

      { "$date" : "1970-01-01T00:00:00.000Z"}

      }
      })

      gives failed: field names cannot start with $ [$date] at src/mongo/shell/collection.js:L147

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            auto auto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 44 weeks, 1 day ago