NAME

App::CPANIDX::Tables - Provide table definitions for App::CPANIDX

SYNOPSIS

my @tables = App::CPANIDX::Tables->tables();

my $sql = App::CPANIDX::Tables->table('dists');

DESCRIPTION

App::CPANIDX::Tables provides the SQL to create the tables that App::CPANIDX uses.

FUNCTIONS

tables

Returns a list of the available tables.

table

Takes one argument, the name of a table to lookup.

Returns a SQL statement that can be used to create the table.

index

Takes one argument, the name of a table to lookup.

Returns an arrayref of SQL statements to create the indexes for the table.

AUTHOR

Chris BinGOs Williams <chris@bingosnet.co.uk>

Apocalypse <apocal@cpan.org>

LICENSE

Copyright © Chris Williams and Apocalypse

This module may be used, modified, and distributed under the same terms as Perl itself. Please see the license that came with your Perl distribution for details.

SEE ALSO

App::CPANIDX