Database Manager Singleton.
Database Manager Singleton.
Stores database connections that need to be accessible throughout the application.
Add a Database. If [code]set_as_default[/code] is true it will be set as default, which means it will be set to the [member ddb] property.
Returns a Database.
Returns how many databases are stored in the singleton.
Returns all Databases.
Calls the [code]initialized[/code] signal.
Not implemented currently. Will likely load databases from ProjectSettings.
Calls the [member migration] signal.
Removes a Database.
The default database.
Emitted when a [Database] is added.
Emitted when a [Database] is removed.
Emitted when default database is changed.
Can be emitted using the [member initialized] method after the database connections are set up.
Can be emitted using the [member migrate] method when the databse structure needs to be updated (or created).