mongodb\Connection $options

$options public property

Connection options. For example:

[
    'socketTimeoutMS' => 1000, // how long a send or receive on a socket can take before timing out
    'ssl' => true // initiate the connection with TLS/SSL
]

See also https://docs.mongodb.com/manual/reference/connection-string/#connections-connection-options.

public array $options = []
doc_Yii
2016-10-30 17:07:56
Comments
Leave a Comment

Please login to continue.