linux - MongoDB shell breaks the syntax for long queries -


i have query takes 3 lines. in mongo shell, can type out on 1 line, if paste it, goes 3 lines, , breaks syntax.

the same thing happens when writing javascript shell script execute mongo queries.

is there way around issue?

thanks!

it sounds using version 2 had multiline-line issues. think doing should work. try upgrading mongo if can.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -