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

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.
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 Deprecated. Runs a JavaScript function on the database server.
parallelCollectionScan Lets applications use multiple parallel cursors when reading documents from a collection.
←   geoWalk insert  →