mongodb\Connection getDefaultDatabaseName()

getDefaultDatabaseName() public method

Returns default database name, if it is not set, attempts to determine it from $dsn value.

public string getDefaultDatabaseName ( )
return string

Default database name

throws yii\base\InvalidConfigException

if unable to determine default database name.

doc_Yii
2016-10-30 17:07:58
Comments
Leave a Comment

Please login to continue.