Bug #84390 Python scripting API doesn't pass options to forward-engineering
Submitted: 3 Jan 13:46
Reporter: Neil Sedger Email Updates:
Status: Open Impact on me:
Category:MySQL Workbench: Migration Severity:S3 (Non-critical)
Version: OS:Any
Assigned to:
Tags: DbMySQLFE, forward-engineering, python

[3 Jan 13:46] Neil Sedger
DbMySQLFE's generateSQLCreateStatements() takes a Dict of options and looks like it tries to pass it to the .cpp layer but doesn't seem to make it as setting them has no effect.

These options are available as a list of tickboxes on the first page of the 'Forward Engineer SQL Script' wizard.

Here is the list of options in .cpp:

How to repeat:
Execute a forward-engineering export from the commandline using the script here:


Set an option in the dictionary at the end of line 19, for example 'OmitSchemata' (see link in the description for options used by the cpp layer) - it will have no effect.