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

NAME

DBIx::Table::TestDataGenerator::DBIxHelper - determines DBIx information and database metadata

DESCRIPTION

This class handles all purely DBIx related handling and the use of DBIx to determine metadata information about database objects.

SUBROUTINES/METHODS

get_result_class

Arguments:

  • schema: DBIx schema of the target database

  • table: Name of a table in the database the DBIx schema was created from.

Returns the DBIx (short) name of the class corresponding to the database table.

column_names

Returns a reference to an array of the lower cased column names of the target table in no particular order.

AUTHOR

Jose Diaz Seng, <josediazseng at gmx.de>

COPYRIGHT AND LICENSE

Copyright (C) 2012-2013, Jose Diaz Seng.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full text of the licenses in the directory LICENSES.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.