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

Unable to insert via shell using the strict dates

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Environment:
    • Last comment by Customer:
      true

      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

            Assignee:
            kay.kim Kay Kim (Inactive)
            Reporter:
            auto auto
            Participants:
            Last commenter:
            Jonathan Dahl Jonathan Dahl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since reply:
              8 years, 28 weeks, 1 day ago
              Date of 1st Reply: