Function gen_managed

Source
pub fn gen_managed<P: AsRef<Path>>(
    schema_files: &[P],
    config: Config,
) -> Result<(), Error>
Expand description

Generates Rust queries from PostgreSQL queries located at queries_path, using a container managed by clorinde. The database schema is created using schema_files. Code generation settings are set using the config parameter.

By default, the container manager is Docker, but Podman can be used by setting the podman parameter to true.