Skip to main content

GetConfig

Retrieves the database configuration and migrates deprecated configuration fields to their current counterparts.

def GetConfig() - > *DbConfig

Retrieves the database configuration, applying any deprecated configuration values to their modern counterparts. This function ensures backward compatibility by migrating older configuration settings to the current structure before returning the complete configuration.

Returns

TypeDescription
*DbConfigThe database configuration object, with deprecated fields migrated to the current Postgres configuration.