open() public method
Establishes a Mongo connection.
It does nothing if a MongoDB connection has already been established.
public void open ( ) | ||
---|---|---|
throws | yii\mongodb\Exception |
if connection fails |
open() public method
Establishes a Mongo connection.
It does nothing if a MongoDB connection has already been established.
public void open ( ) | ||
---|---|---|
throws | yii\mongodb\Exception |
if connection fails |
Please login to continue.