MySQL Forums
Forum List  »  MySQL Workbench

Re: Update a view in Workbench
Posted by: Mike Lischke
Date: May 28, 2014 12:56AM

Hi Tom,

views are usually created to hide some more complex handling behind a simple relationship. However, this makes them more often than read-only. Since MySQL Workbench is not the MySQL server, it has not all the information at hand that would be needed to decide whether a view is "editable" (meaning it can be used to update values). Hence you are limited to tables with a PK, no union or subselect or aggregate or other such things.

If you like you can open a feature request in our bug database to have the detection improved that decides whether a resultset is editable or not.

Mike

Mike Lischke, MySQL Developer Tools
Oracle Corporation

MySQL Workbench on Github: https://github.com/mysql/mysql-workbench
On Twitter: https://twitter.com/MySQLWorkbench
On Slack: mysqlcommunity.slack.com (#workbench)
Report bugs to http://bugs.mysql.com
MySQL documentation can be found here: http://dev.mysql.com/doc/refman/8.0/en/

Options: ReplyQuote


Subject
Views
Written By
Posted
983
May 27, 2014 07:46AM
Re: Update a view in Workbench
418
May 28, 2014 12:56AM


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.