[DBIx-Class-Devel] [dbsrgits/sql-translator] improve parsing of CREATE VIEW statements with SQL::Translator::Parse… (#128)

Renee notifications at github.com
Mon Jul 6 08:43:19 GMT 2020


…r::MySQL

Currently the module supports only simple views like 'CREATE VIEW view1 AS SELECT ... FROM table',
but not more complex statments that may contain 'JOIN's. Furthermore the used tables aren't reported.
This commit fixes those issues.
You can view, comment on, or merge this pull request online at:

  https://github.com/dbsrgits/sql-translator/pull/128

-- Commit Summary --

  * improve parsing of CREATE VIEW statements with SQL::Translator::Parser::MySQL

-- File Changes --

    M lib/SQL/Translator/Parser/MySQL.pm (48)
    M t/02mysql-parser.t (29)

-- Patch Links --

https://github.com/dbsrgits/sql-translator/pull/128.patch
https://github.com/dbsrgits/sql-translator/pull/128.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/sql-translator/pull/128
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20200706/70b59da1/attachment.htm>


More information about the DBIx-Class-Devel mailing list