Parse::Dia::SQL::Output(3pm)

Parse::Dia::SQL::Output3pm

Create sql base class.

Usage

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

Overview

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)

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 6 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12–13

From libparse-dia-sql-perl 0.31-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.