Class::DBI::ViewLoader::Pg - Class::DBI::Viewloader implementation for Postgresql.
use Class::DBI::ViewLoader; $loader = Class::DBI::ViewLoader dsn => 'dbi:Pg:dbname=mydb'; # load views from mydb @classes = $loader->load_views
This is the postgresql driver for Class::DBI::ViewLoader,
Returns 'Class::DBI::Pg'. This class will be used as the main base class for all classes generated using this driver.
@views = $obj->get_views
Returns a list of the names of the views in the current database.
@cols = $obj->get_view_cols($view)
Returns the columns contained in the given view.
Class::DBI::ViewLoader, Class::DBI::Loader, Class::DBI, http://www.postgresql.org/
Matt Lawrence <mattlaw@cpan.org>
Copyright 2005 Matt Lawrence, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Class::DBI::ViewLoader::Pg, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Class::DBI::ViewLoader::Pg
CPAN shell
perl -MCPAN -e shell install Class::DBI::ViewLoader::Pg
For more information on module installation, please visit the detailed CPAN module installation guide.