The mongo shell breaks when given a multiline function, either directly in the shell or when piped in.
This is a problem because breaking functions into multiple lines can dramatically improve readability, and does not change the fact that they are valid javascript.
- is related to
-
SERVER-16946 "it" not working in the javascript shell when getting next cursor batch
- Closed
-
SERVER-5399 Add "quit" as a synonym for "exit" in mongo command shell
- Closed