CRUD Operations
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of the MongoDB Go Driver.
CRUD (Create, Read, Update, Delete) operations enable you to work with data stored in MongoDB.
Read Operations find and return documents stored in your database.
Write Operations insert, modify, or delete documents in your database.
Some operations combine aspects of read and write operations. To learn more about these hybrid methods, see Compound Operations.
To learn about how to modify the way your CRUD operations execute, see Modify Execution of CRUD Operations.