create_database_pool_with_config

Function create_database_pool_with_config 

Source
pub async fn create_database_pool_with_config(
    database_url: &str,
    config: &DatabasePoolConfig,
) -> Result<Arc<dyn DatabasePoolTrait>, ModelError>
Expand description

Helper function to create a database pool with custom configuration