Atsushi Kobayashi > DBIx-Class-TableNames-0.01 > DBIx::Class::TableNames

Download:
DBIx-Class-TableNames-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

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.

syntax highlighting: