mongo_close()

Read(5253) Label: close, mongo database,

Description:
Close connection to MongoDB database.

Syntax:
mongo_close()

Note:

The external library function (See External Library Guide) closes connection to MongoDB database.

Example:

 

A

 

1

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

Connect to a MongoDB.

2

=mongo_close()

Close the connection.