Fry::Lib::CDBI::LoadSets up a Class::DBI connection and basic variables expected by any Class::DBI library | |
Download |
Fry::Lib::CDBI::Load Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Gabriel Horner
- Publisher web site:
- http://search.cpan.org/~bozo/Fry-Lib-CPANPLUS-0.01/lib/Fry/Lib/CPANPLUS.pm
Fry::Lib::CDBI::Load Tags
Fry::Lib::CDBI::Load Description
Sets up a Class::DBI connection and basic variables expected by any Class::DBI library Fry::Lib::CDBI::Load is a Perl module that sets up a Class::DBI connection and basic variables expected by any Class::DBI library.This module sets up a Class::DBI connection either using Class::DBI::Loader or with an explicit &set_db call. When the flag CDBI_Loader is set, this class sets up via Class::DBI::Loader. Both paths have the following in common: The class variable $cdbi_class allows you to specify your own subclass. My::CDBI subclasses $cdbi_class and is the calling class for Class::DBI methods.Since Class::DBI doesn't currently return columns in their table's order, the column orders are fetched every time a new table is defined unless the flag get_columns isn't set. My::CDBI contains the methods for getting the correct column orders for three databases: postgres,mysql and sqlite. If you'd like your database to have correct column_orders, send me an email with the method to do so.My::CDBI also contains &search_regex which searches with a regex operator (only for mysql and postgresql). Requirements: · Perl
Fry::Lib::CDBI::Load Related Software