Skip to main content

create_database_config_from_env

Function create_database_config_from_env 

Source
pub fn create_database_config_from_env() -> Result<DatabaseConfig, AppError>
Available on crate feature persistence only.
Expand description

Creates a database configuration from environment variables

ยงReturns

  • Result<DatabaseConfig, AppError> - Database configuration or an error