[DOCS-992] The documentation does not call out the mongo shell built-ins which print information instead of returning JSON objects Created: 15/Jan/13  Updated: 30/Oct/23  Resolved: 12/Feb/13

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Major - P3
Reporter: William Zola Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
related to SERVER-8197 Make all the shell helper functions u... Backlog
Participants:
Days since reply: 11 years, 1 week, 1 day ago

 Description   

Most of the built-in functions in the 'mongo' shell return JSON objects. The following do not, and this should be documented:

  • db.printCollectionStats
  • db.printReplicationInfo
  • db.printShardingStatus
  • db.printSlaveReplicationInfo


 Comments   
Comment by auto [ 12/Feb/13 ]

Author:

{u'date': u'2013-02-12T20:38:02Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-992: including notes on js methods that don't return JSON
Branch: master
https://github.com/mongodb/docs/commit/b130d9e5c8189be5fbdddf9203871c8bbdcfb1cb

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