Andreas Faafeng > Parse-Dia-SQL-0.27 > Parse::Dia::SQL::Output::MySQL

Download:
Parse-Dia-SQL-0.27.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  2
View/Report Bugs
Source  

NAME ^

Parse::Dia::SQL::Output::MySQL - Create SQL for MySQL base class

DESCRIPTION ^

Note that MySQL has support for difference storage engines. Each storage engine has its' own properties and the respective SQL differs.

SEE ALSO ^

 Parse::Dia::SQL::Output::MySQL::MyISAM
 Parse::Dia::SQL::Output::MySQL::InnoDB

new

The constructor.

_get_drop_index_sql

create drop index for index on table with given name. Note that the tablename is not used here, but many of the overriding subclasses use it, so we include both the tablename and the indexname as arguments to keep the interface consistent.

get_schema_drop

create drop table for all tables using MySQL syntax:

  drop table t if exists
syntax highlighting: