MongoDB shell version: 2.1.2-pre-
Welcome to the MongoDB shell.
For interactive help, type "help".
For more comprehensive documentation, see
http://docs.mongodb.org/
Questions? Try the support group
http://groups.google.com/group/mongodb-user
> var v = {}
> var w = {
Fri May 04 11:30:58 SyntaxError: invalid property id (shell):1
> // we should be in multi-line mode now
See https://jira.mongodb.org/browse/SERVER-5399?focusedCommentId=116354&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-116354 for the breaking change.
- is related to
-
SERVER-5399 Add "quit" as a synonym for "exit" in mongo command shell
- Closed