DBIWrapper 0.22 review
DownloadDBIWrapper is a Perl Module that provides for easier access to databases using DBI
|
|
DBIWrapper is a Perl Module that provides for easier access to databases using DBI. It supports MySQL, PostgreSQL and ODBC DBD modules. High level methods for reading and writing to the database are provided. DBI data structures or XML are returned
Here are some key features of "DBIWrapper":
The DBIWrapper is a Perl Module which provides easier access to databases using DBI. It currently supports MySQL, PostgreSQL, Sybase and ODBC DBD drivers. High level methods for reading, writing, commiting and rolling back transactions are provided. The DBI data structures can still be used to return the data in.
XML Support is now available as of DBIWrapper 0.16. Using readXML() you can have the result of your SELECT statement be returned as an XML document (format defined here) which will describe the SELECT statement issued and the rows of data returned from the backend.
DBIWrapper::XMLParser included in DBIWrapper 0.17! This module parses the XML generated by readXML() and returns a perl data structure in the DBIWrapper::ResultSet module. This makes for extremely easy manipulation of your database data. DBIWrapper::XMLParser relies on XML::LibXML. See README for details.
HTML Support is now available as of DBIWrapper 0.20. Using readHTML() you can have the result of your SELECT statement returned as an HTML snippet which is fully customizable via CSS. See the man page for more details.
Sybase Support is now available as of DBIWrapper 0.22!
Helper methods getDataArray(), getDataHash(), getDataArrayHeader(), getDataHashHeader() do the work of read() and then build up an array with the returned result set. See the man page for more info.
What's New in This Release:
DBD::Sybase is now officially supported and the getData... methods (getDataArray, getDataArrayHeader, getDataHash, getDataHashHeader) all know how to properly handle the possible multiple result sets that Sybase can return. getID() was added for returning the ID of the last inserted row.
DBIWrapper 0.22 keywords