Function build_connection_string
Source pub fn build_connection_string(
user: &str,
password: &str,
host: &str,
port: u16,
database: &str,
) -> String
Expand description
Builds a PostgreSQL connection string from its components.
§Arguments
user - Database user name
password - Database password
host - Database host (e.g., “localhost”)
port - Database port (e.g., 5432)
database - Database name
§Returns
A formatted PostgreSQL connection string