Skip to main content

create_repo

Function create_repo 

Source
pub async fn create_repo(
    config: &RepoConfig,
) -> Result<Arc<PGConnection>, OperationOutcomeError>
Expand description

Opens a connection pool for config.

§Errors

Returns an error if the pool cannot open its first connection — an unreachable host, bad credentials, or a malformed database_url.