Generate SQL from models
Generate SQL
The "SQL Generator" extension allows you to generate SQL based on your model. In the extensions panel, click on the "SQL Generator" extension:

A modal window will appear:

- Select the database type you would like to generate the SQL for, currently MySQL and Postgres are supported.
- Select the entities you would like to generate the SQL for.
- Finally select the actions you need. (Select, Insert, Update, Delete, Create).

Run via CLI
You can also run the SQL Generator extension directly on your machine using the nuzur CLI. This writes the generated SQL files directly to your local filesystem without requiring you to download a ZIP archive from the browser:
nuzur-cli run-extension
The CLI will guide you to select your project, version, configuration settings, and the output folder where the generated files will be written.