pub fn establish_connection() -> MysqlConnection {
    let config = get_config().expect("Could not load config");

    MysqlConnection::establish(&config.db_url)
        .expect(&format!("Error connecting to {}", &config.db_url))
}
// start the database connection
// FIXME(digant) -- introduce connection pooling
start the database connection
FIXME(digant) -- introduce connection pooling
start the database connection FIXME ( digant ) -- introduce connection pooling
pub fn establish_connection() -> MysqlConnection {
    let config = get_config().expect("Could not load config");
    MysqlConnection::establish(&config.db_url)
        .expect(&format!("Error connecting to {}", &config.db_url))
}
pub fn establish_connection ( ) -> MysqlConnection { let config = get_config ( ) . expect ( " " ) ; MysqlConnection :: establish ( & config . db_url ) . expect ( & format ! ( " " config db_url ) ) }
start the database connection
FIXME(digant) -- introduce connection pooling
start the database connection FIXME ( digant ) -- introduce connection pooling