Skip to main content

run

Function run 

Source
pub fn run(
    config: &Config,
    db_name: Option<&str>,
    opts: GenerateOptions,
) -> Result<(), CliError>
Expand description

Run the generate command.

ยงErrors

Returns CliError if the requested database cannot be resolved, the schema files fail to parse, snapshot/diff generation fails, or writing the new migration and journal files to disk fails.