Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 321 Bytes

close.md

File metadata and controls

19 lines (11 loc) · 321 Bytes

manager.close

Closes the connection.

Arguments

  1. [force] (Boolean): Force close, emitting no events

  2. [callback] (Function): You may optionally specify a callback which will be called once the connection to the mongo database is closed.

Returns

A Promise

Example

db.close()