Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
*Location*: https://docs.mongodb.org/getting-started/node/insert/
*User-Agent*: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.82 Safari/537.36 OPR/35.0.2066.37
*Screen Resolution*: 1440 x 900
*repo*: docs
*source*: insert
Description
Hiļ¼this is Sylar. I have a question with the insert example. The callback define of insertDocument take a parameter, but the application "insertDocument(db, function()
{ db.close(); });"
takes null, how to understand this?
Thanks!