-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
Environment:Content
*Location*: http://docs.mongodb.org/manual/tutorial/generate-test-data/
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36
*Referrer*: http://docs.mongodb.org/manual/tutorial/getting-started/
*Screen Resolution*: 1920 x 1200
*repo*: docs
*source*: tutorial/generate-test-data
Content *Location*: http://docs.mongodb.org/manual/tutorial/generate-test-data/ *User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 *Referrer*: http://docs.mongodb.org/manual/tutorial/getting-started/ *Screen Resolution*: 1920 x 1200 *repo*: docs *source*: tutorial/generate-test-data
It isnt really a problem - just a comment. You say:
"Store the function in your .mongorc.js file. The mongo shell loads and parses the .mongorc.js file on startup so your function is available every time you start a session."
But, you dont say how to do it. Is there a way to do it in the shell? Should I copy it and paste it into .mongorc.js using nano or some other tool?
Just curious.
Many thanks for the course.
Mark
mark.keckeis@gmail.com