Function getConnectionSettings

  • Returns the connection settings based on the provided config.

    Parameters

    • config: WPMMconfigWP

      The configuration object containing the host, user, password, and database details.

    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

Generated using TypeDoc