SQL Generator

class besser.generators.sql.sql_generator.SQLGenerator(model: DomainModel, output_dir: str = None, sql_dialect: str = 'sqlite')[source]

Bases: GeneratorInterface

_abc_impl = <_abc._abc_data object>
generate()[source]

Generates SQL code based on the provided B-UML model and saves it to the specified output directory. If the output directory is not specified, the code will be stored in the <current directory>/output folder.