mongodb\Connection $manager

$manager public property (available since version 2.1) MongoDB driver manager. public \MongoDB\Driver\Manager $manager = null

mongodb\Connection $logBuilder

$logBuilder public property The log builder for this connection. public yii\mongodb\LogBuilder getLogBuilder ( )public void setLogBuilder ( $logBuilder )

mongodb\Connection $isActive

$isActive public read-only property Whether the Mongo connection is established public boolean getIsActive ( )

mongodb\Connection $fileStreamWrapperClass

$fileStreamWrapperClass public property (available since version 2.1) Name of the class, which should serve as a stream wrapper for $fileStreamProtocol protocol. public string $fileStreamWrapperClass = 'yii\mongodb\file\StreamWrapper'

mongodb\Connection $fileStreamProtocol

$fileStreamProtocol public property (available since version 2.1) Name of the protocol, which should be used for the GridFS stream wrapper. Only alphanumeric values are allowed: do not use any URL special characters, such as '/', '&', ':' etc. See also yii\mongodb\file\StreamWrapper. public string $fileStreamProtocol = 'gridfs'

mongodb\Connection $fileCollection

$fileCollection public read-only property Mongo GridFS collection instance. public yii\mongodb\file\Collection getFileCollection ( $prefix = 'fs', $refresh = false )

mongodb\Connection $enableProfiling

$enableProfiling public property (available since version 2.1) Whether to enable profiling the commands and queries being executed. This option will have no effect in case $enableLogging is disabled. public boolean $enableProfiling = true

mongodb\Connection $enableLogging

$enableLogging public property (available since version 2.1) Whether to log command and query executions. While enabled this option may reduce performance, since MongoDB commands may contain large data, consuming both CPU and memory. It make sense to disable this option at production environment. public boolean $enableLogging = true

mongodb\Connection $dsn

$dsn public property Host:port Correct syntax is: mongodb://[username:password@]host1[:port1][,host2[:port2:],...][/dbname] For example: mongodb://localhost:27017 mongodb://developer:password@localhost:27017 mongodb://developer:password@localhost:27017/mydatabase public string $dsn = null

mongodb\Connection $driverOptions

$driverOptions public property Options for the MongoDB driver. Any driver-specific options not included in MongoDB connection string specification. See also http://php.net/manual/en/mongodb-driver-manager.construct.php. public array $driverOptions = []