DBIx::Class::TableNames - get table name list from database
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_%');
Get table name list from database.
No bugs have been reported.
Atsushi Kobayashi <nekokak __at__ gmail.com>
<nekokak __at__ gmail.com>
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.
To install DBIx::Class::TableNames, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Class::TableNames
CPAN shell
perl -MCPAN -e shell install DBIx::Class::TableNames
For more information on module installation, please visit the detailed CPAN module installation guide.