mongo_close ()

Read(705) Label: close, mongo database,

Description:
   
Close connection to MongoDB database.

Syntax:
     mongo_close()

Note:

The external library function closes connection to MongoDB database.

 

Example:

 

A

 

1

=mongo_open("mongodb://localhost:27017/mydb")

Connect to a MongoDB

2

=mongo_close()

Close the connection