Adam Spiers > MySQL-Diff > MySQL::Diff::Database

Download:
MySQL-Diff-0.43.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  1
Open  9
View/Report Bugs
Module Version: 0.43   Source  

NAME ^

MySQL::Diff::Database - Database Definition Class

SYNOPSIS ^

  use MySQL::Diff::Database;

  my $db = MySQL::Diff::Database->new(%options);
  my $source    = $db->source_type();
  my $summary   = $db->summary();
  my $name      = $db->name();
  my @tables    = $db->tables();
  my $table_def = $db->table_by_name($table);

  my @dbs = MySQL::Diff::Database::available_dbs();

DESCRIPTION ^

Parses a database definition into component parts.

METHODS ^

Constructor

new( %options )

Instantiate the objects, providing the command line options for database access and process requirements.

Public Methods

FUNCTIONS ^

Public Functions

COPYRIGHT AND LICENSE ^

Copyright (c) 2000-2011 Adam Spiers. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO ^

mysqldiff, MySQL::Diff, MySQL::Diff::Table, MySQL::Diff::Utils

AUTHOR ^

Adam Spiers <mysqldiff@adamspiers.org>

syntax highlighting: