These enhancements are useful to me but they don't make sense for everyone. Feel free to tweak to your desire and please submit feedback or pull requests. Only tested with non-EOL versions of MongoDB server (currently 3.4+) Does not work with mongo shell or MongoDB servers < 2.4. Updates called on existing cursors are experimental. Verbose shell is enabled by default (config: verbose_shell). Highlight query time if verbose shell is enabled. Default indent is 2 spaces instead of tab (config: indent). Disable notification of "Type 'it' for more". Option to sort document keys (config: sort_keys). Custom prompt: hostname(process-version)[rs_status:set_name] db>. Always pretty print. You can still use default format by appending .ugly() to the end of a statement. Colorized query output for console/terminal windows supporting ANSI color codes.

Features

  • Display document keys in sorted order
  • A prompt that shows current database, version, and process name
  • Verbose shell enabled (shows query timing information)
  • Auto multi update (works just like update in SQL)
  • Two spaces indent (why waste the space?)
  • Colon next to keys (looks nicer right?)

Project Samples

Project Activity

See All Activity >

Categories

Database

License

MIT License

Follow MongoDB Shell Enhancements

MongoDB Shell Enhancements Web Site

Other Useful Business Software
Solve Your Real-world Business Challenges From A Single Timesheet With Powerful Built In Integration Icon
Solve Your Real-world Business Challenges From A Single Timesheet With Powerful Built In Integration

Timecontrol Is Your Multipurpose Timesheet Software

TimeControl is a multi-purpose timesheet system designed to serve both Finance and Project Management. TimeControl has been designed to serve many purposes simultaneously. TimeControl tracks time on a task-by-task, project-by-project basis. Yet, despite its project-based controls, it remains a financial timesheet with all the controls necessary to fulfill the stringent needs of payroll, human resources, billing and finance. TimeControl is available both for subscription in the cloud or for purchase for an on premise installation and includes both a browser interface and the free TimeControl Mobile App for iOS and Android devices.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of MongoDB Shell Enhancements!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Database Software

Registered

2022-07-20