Function getConnectionSettings
- getConnectionSettings(config): {
database: string;
host: string;
password: string;
user: string;
} Returns {
database: string;
host: string;
password: string;
user: string;
}
- The connection settings object with the following properties:
- connectionLimit: The maximum number of connections allowed.
- host: The host name or IP address of the database server.
- user: The username for authenticating with the database server.
- password: The password for authenticating with the database server.
- database: The name of the database to connect to.
database: string
host: string
password: string
user: string
Returns the connection settings based on the provided config.