pub async fn new(database_str: &str) -> ConnectorResult<Self> {
        let (client, db_name) = Self::create_client(database_str).await?;

        Ok(Self { client, db_name })
    }
/// Construct and initialize the SQL migration connector.
Construct and initialize the SQL migration connector.
Construct and initialize the SQL migration connector .
pub async fn new(database_str: &str) -> ConnectorResult<Self> {
        let (client, db_name) = Self::create_client(database_str).await?;
        Ok(Self { client, db_name })
    }
pub async fn new ( database_str : & str ) -> ConnectorResult < Self > { let ( client , db_name ) = Self :: create_client ( database_str ) . await ? ; Ok ( Self { client , db_name } ) }
Construct and initialize the SQL migration connector.
Construct and initialize the SQL migration connector .
database_str
&str