Skip to main content

split_model_url

Function split_model_url 

Source
pub fn split_model_url(url: &str) -> Result<(String, String)>
Expand description

Split postgres://…?model=<name>[&…] into the connection string without the model parameter and the model name (required).