[DOCS-4590] Comment on: "manual/tutorial/generate-test-data.txt" Created: 30/Dec/14  Updated: 03/Nov/17  Resolved: 08/Jan/15

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
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


Participants:
Days since reply: 9 years, 7 weeks, 1 day ago

 Description   

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


Generated at Thu Feb 08 07:48:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.