resultCallback(error, result)
作者:互联网
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!
标签:executed,successfully,object,results,resultCallback,result,error 来源: https://www.cnblogs.com/wangmu7206/p/14177941.html