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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.