Function pg_create_database

Source
pub fn pg_create_database(
    container_name: &str,
    db_name: &str,
) -> Result<bool, Box<EvalAltResult>>
Expand description

Create a new database in PostgreSQL

§Arguments

  • container_name - Name of the PostgreSQL container
  • db_name - Database name to create

§Returns

  • Result<bool, Box<EvalAltResult>> - true if successful, error otherwise