[SERVER-7642] 3 dots on enter/'commit' Created: 13/Nov/12 Updated: 15/Feb/13 Resolved: 13/Nov/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | stuart hayes | Assignee: | Tad Marshall |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows 7 |
||
| Participants: |
| Description |
|
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
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? |
| Comments |
| Comment by Tad Marshall [ 13/Nov/12 ] |
|
This is multi-line continuation mode. When the shell determines that your command is incomplete when you press Enter, it prompts for the rest of the line. It will do this repeatedly until you finish the (logical) line or press Enter twice on blank lines. See http://www.mongodb.org/display/DOCS/Overview+-+The+MongoDB+Interactive+Shell#Overview-TheMongoDBInteractiveShell-LineContinuation for discussion of this feature. |