Parse::Dia::SQL::Output::MySQL.3pm

Langue: en

Version: 2009-03-31 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

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