3 dots on enter/'commit'

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      Windows 7
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hi, I'm new to MongoDB and just playing around trying to insert some data into a new collection (my plan is to later connect to Mongo using Jaspersoft iReport and create a report on this dataset). i've copied p 137 of 7 DBs in 7 weeks to create some data eg

      db.towns.insert({
      name: "New York", population: 222000000, famous_for ["food", "central park"],
      mayor:{"MB", party:"I"}
      })
      

      The syntax is all good, but when i hit enter i get ... (3 dots) and it seems to hang eg I cannot enter any further commands.

      What's wrong?
      Thanks
      Stuart

            Assignee:
            Tad Marshall
            Reporter:
            stuart hayes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: