Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

Parse::Dia::SQL::Output - Create SQL base class.

Description

       This is the base sql formatter class for creating sql. It contains basic functionality, which can be
       overridden in subclasses, one for each RDBMS.

Methods

new()
           The constructor.  Arguments:

             db    - the target database type

       get_sql()
           Return all sql.  The sequence of statements is as follows:

             constraints drop
             permissions drop
             view drop
             schema drop
             smallpackage pre sql
             schema create
             view create
             permissions create
             inserts
             smallpackage post sql
             associations create  (indices first, then foreign keys)

perl v5.36.0                                       2022-11-19                       Parse::Dia::SQL::Output(3pm)

Name

       Parse::Dia::SQL::Output - Create SQL base class.

See Also

         Parse::Dia::SQL::Output::DB2
         Parse::Dia::SQL::Output::Oracle

Synopsis

           use Parse::Dia::SQL;
           my $dia = Parse::Dia::SQL->new(...);
           my $output = $dia->get_output_instance();
           print $output->get_sql();

See Also