db.getLastError()

db.getLastError()
返回:The last error message string.

Sets the level of write concern for confirming the success of write operations.

See

getLastError for all options, Write Concern for a conceptual overview, 写 for information about all write operations in MongoDB, and Replica Set Write Concern for special considerations related to write concern for replica sets.

MongoDB Manual (Index)

关于

生态系统

格式

资源