This version of the documentation is archived and no longer supported.

Query and Write Operation Commands


For details on specific commands, including syntax and examples, click on the specific command to go to its reference page.

Name Description
delete Deletes one or more documents.
eval Deprecated. Runs a JavaScript function on the database server.
find Selects documents in a collection or a view.
findAndModify Returns and modifies a single document.
getLastError Returns the success status of the last operation.
getMore Returns batches of documents currently pointed to by the cursor.
getPrevError Returns status document containing all errors since the last resetError command.
insert Inserts one or more documents.
parallelCollectionScan Lets applications use multiple parallel cursors when reading documents from a collection.
resetError Resets the last error status.
update Updates one or more documents.
←   geoSearch delete  →