Docs 菜单

getLastError

在此页面上

getLastError

已在 MongoDB 5.1 中删除。

Any code explicitly using getLastError, db.getLastError(), or db.getLastErrorObj() should instead use the CRUD API to issue the write with the desired 写入安全机制. Information about the success or failure of the write operation will be provided directly by the driver as a return value.

此命令可用于以下环境中托管的部署:

在此页面上