OPTIONS

Query and Write Operation CommandsΒΆ

Name Description
find Selects documents in a collection.
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.
getMore Returns batches of documents currently pointed to by the cursor.
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.
←   geoSearch find  →

Was this page helpful?

Yes No

Thank you for your feedback!

We're sorry! You can Report a Problem to help us improve this page.