I have a query that takes 3 lines. In the mongo shell, I can type it out so it is on one line, but if I paste it, it goes to 3 lines, and that breaks the syntax.
The same thing happens when I am writing a JavaScript Shell script to execute some mongo queries.
Is there any way around this issue?
Thanks!