Function dsync::generate_code

source ·
pub fn generate_code(
    diesel_schema_file_contents: String,
    config: GenerationConfig<'_>
) -> Result<Vec<ParsedTableMacro>>
Expand description

Generate a model for the given schema contents

Model is returned and not saved to disk yet