Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 17899 программистов и 1597 роботов. Сейчас ищут 1460 программистов ...
Connecting
Вернуться к: Manual
Содержание
- Connecting over SSL
- Authentication
- Replica Sets
- Sharding
- Domain Socket Support
- Persistent Connections (version 1.3.0+)
- Connection Pooling (version 1.2.0-1.2.12 *only*)
- Manually Persistent Connections (version up to 1.1.4 *only*)
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.
Вернуться к: Manual