Jest to wyjście w linii poleceń po nazywamy WB z --help
:
mysql-workbench [<options>] [<model file>]
Options:
--force-sw-render Force Xlib rendering
--force-opengl-render Force OpenGL rendering
--query <connection> Open a query tab to the named connection
--admin <instance> Open a administration tab to the named instance
--model <model file> Open the given EER model file
--script <script file> Execute the given Python or Lua script file
--run <script> Execute the given code in default language for GRT shell
--run-python <script> Execute the given code in Python
--run-lua <script> Execute the given code in Lua
--quit-when-done Quit Workbench when the script is done
--help, -h Show command line options and exit
--log-level=<level> Valid levels are: error, warning, info, debug1, debug2, debug3
--verbose Enable diagnostics output
--version Show Workbench version number and exit
Chyba można załadować swój model używając opcji --model
a następnie utworzyć skrypt, który wykona naprzód inżynierię i bieganie korzystając z opcji --run
, a następnie instruuj WB, aby zakończył pracę po zakończeniu opcji .
Możesz skorzystać z pomocy WB, aby dowiedzieć się więcej o tworzeniu skryptów oraz o this guide.
Rozważmy edycji posta, aby to wejście próbki, próbki spodziewane wyjście, aktualny kod, prądu wyjściowego. Powodzenia. – shellter
Witam Muszla. Dane wejściowe to plik '.mwb'; wynikiem jest plik DDL '.sql'. Obecny kod: brak, ponieważ szukam wskazówek. – balteo
Cześć @balteo, czy byłeś kiedykolwiek w stanie to zadziałać? Obecnie mam ten sam problem. – Aistina