Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Connecting

Table of Contents

Connecting to MongoDB can be as easy as new MongoClient, but there are many additional options and configurations. The documentation for MongoClient::__construct() covers all of the API options, but this page gives some more details and advice for practical use cases.