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

Unable to insert via shell using the strict dates

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Environment:

      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

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

              Created:
              Updated:
              Resolved:
              11 years, 3 weeks, 3 days ago