Docs Home → MongoDB Manual
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
Removed in MongoDB 5.1.在MongoDB 5.1中删除。
getMore
Returns batches of documents currently pointed to by the cursor.返回游标当前指向的文档批次。
insert
Inserts one or more documents.插入一个或多个文档。
resetError
Removed in MongoDB 5.0.在MongoDB 5.0中删除。 Resets the last error status.重置上次错误状态。
update
Updates one or more documents.更新一个或多个文档。