This version has reached end of life on October 2016. Learn more about upgrading your version of MongoDB.

Query and Write Operation Commands

Name Description
insert Inserts one or more documents.
update Updates one or more documents.
delete Deletes one or more documents.
findAndModify Returns and modifies a single document.
text Performs a text search.
getLastError Returns the success status of the last operation.
getPrevError Returns status document containing all errors since the last resetError command.
resetError Resets the last error status.
eval Runs a JavaScript function on the database server.
parallelCollectionScan Lets applications use multiple parallel cursors when reading documents from a collection.
←   geoWalk insert  →