MySQL Forums
Forum List  »  MySQL Workbench

Re: Use LUA to merge tables into layers
Posted by: Michael G. Zinner
Date: October 27, 2008 11:32AM

There are two ways of grouping tables together. The first is to use the layer tool found in the toolbar on the left when you are working with a diagram. Once you selected the tool you can click-then-drag to define your layer area. Then you can move existing tables into the layer region by using drag-n-drop. You can also drag tables from the catalog palette onto the layer.

The other way - which is very useful when working with really large models - is, to create several diagrams that represent different subsets of model objects. Workbench can hold an unlimited number of diagrams in one model file. And you can still use the layers described above in addition to that.

Both can be done by Lua scripts as well but I don't have any code to demonstrate that.


For Reverse Engineering you have to use File -> Import and work with SQL CREATE script files that can be created with MySQL Administrator or the mysqldump tool. Or you pony up the 99 bugs for Standard Edition which will give you an easier workflow:

http://dev.mysql.com/workbench/?page_id=11

Hope that helps,
Mike

Michael Zinner, Team Lead, Developer Tools
MySQL AB, www.mysql.com

Are you MySQL certified? www.mysql.com/certification



Edited 1 time(s). Last edit at 10/27/2008 11:33AM by Michael G. Zinner.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Use LUA to merge tables into layers
3593
October 27, 2008 11:32AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.