The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

DBIx::Class::TableNames - get table name list from database

SYNOPSIS

    package Your::Schema;
    use base 'DBIx::Class::Schema';
    __PACKAGE__->load_classes;
    __PACKAGE__->load_components(qw/
        TableNames
    /);

    # in your script:
    my @tables = $schema->table_names;
    # or
    my @tables = $schema->table_names('user');
    # or
    my @tables = $schema->table_names('log_%');

DESCRIPTION

Get table name list from database.

METHOD

table_names

Get table name list from database.

BUGS AND LIMITATIONS

No bugs have been reported.

AUTHOR

Atsushi Kobayashi <nekokak __at__ gmail.com>

LICENCE AND COPYRIGHT

Copyright (c) 2007, Atsushi Kobayashi <nekokak __at__ gmail.com>. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.