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
Post a Comment