Query and Write Operation Commands
Note
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. |
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. |
resetError | Resets the last error status. |
update | Updates one or more documents. |