Summary

In this chapter, you learned what the mongo shell is, and why you should use it. You also learned how to access the mongo shell, including several command-line options that allow you to run scripts and single commands. You then learned how to query the database from the command shell, with examples on how to define the filter and projection. After that, you learned how to add, edit, and delete using the command shell. Finally, you learned how to create and run a shell script.

In the next chapter, you'll learn about development using program language drivers.

Get MongoDB 4 Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.