pub fn gen(&self, tables_metadata: &TablesMetadata) -> Result<()> {
        fs::create_dir_all(&self.module_path)?;
        mod_gen(&self.module_path, tables_metadata)?;

        for (table_name, rows) in tables_metadata {
            table_gen(&self.module_path, table_name, rows)?
        }
        Ok(())
    }
/// Generate the module code for the given `TablesMetadata`.
Generate the module code for the given `TablesMetadata`.
Generate the module code for the given ` TablesMetadata ` .
pub fn gen(&self, tables_metadata: &TablesMetadata) -> Result<()> {
        fs::create_dir_all(&self.module_path)?;
        mod_gen(&self.module_path, tables_metadata)?;
        for (table_name, rows) in tables_metadata {
            table_gen(&self.module_path, table_name, rows)?
        }
        Ok(())
    }
pub fn gen ( & self , tables_metadata : & TablesMetadata ) -> Result < ( ) > { fs :: create_dir_all ( & self . module_path ) ? ; mod_gen ( & self . module_path , tables_metadata ) ? ; for ( table_name , rows ) in tables_metadata { table_gen ( & self . module_path , table_name , rows ) ? } Ok ( ( ) ) }
Generate the module code for the given `TablesMetadata`.
Generate the module code for the given ` TablesMetadata ` .
&self
tables_metadata
&TablesMetadata