I have a collection of documents containing lists of up to hundred comments in MongoDB. When running findOne() in mongo shell in Windows 7, I can see only the ending of the document. If I try to scroll to the beginning, the scroll stops without reaching the start of the document.
Asked
Active
Viewed 788 times
0
-
http://superuser.com/questions/378313/windows-command-prompt-how-do-i-increase-my-buffer – Dmytro Shevchenko Nov 16 '15 at 12:21
-
I have tested the recomendations described in this answer and they do not work in mongo shell. The buffer size increase up to 999 stlll does not reach the begining of the document. – tomaskazemekas Nov 16 '15 at 12:40
-
1http://stackoverflow.com/questions/13104800/printing-mongodb-shell-output-to-file – Dmytro Shevchenko Nov 16 '15 at 12:41
-
If the only solution is to save the document to the file then the recommendations can be applied. – tomaskazemekas Nov 16 '15 at 12:56