lib/collection.js, line 1022
The callback format for results
Name | Type | Description |
---|---|---|
error |
MongoError |
An error instance representing the error during the execution. |
result |
object |
The result object if the command was executed successfully. |
经测试 若无结果 则result为null!