Path to this page:
./
databases/p5-Ima-DBI,
Perl5 module for DB connection caching and organization
Branch: pkgsrc-2017Q2,
Version: 0.35nb9,
Package name: p5-Ima-DBI-0.35nb9,
Maintainer: pkgsrc-usersIma::DBI attempts to organize and facilitate caching and more
efficient use of database connections and statement handles.
One of the things I always found annoying about writing large
programs with DBI was making sure that I didn't have duplicate
database handles open. I was also annoyed by the somewhat wasteful
nature of the prepare/execute/finish route I'd tend to go through
in my subroutines. The new DBI->connect_cached and DBI->prepare_cached
helped alot, but I still had to throw around global datasource,
username and password information.
So, after a while I grew a small library of DBI helper routines
and techniques. Ima::DBI is the culmination of all this, put into
a nice(?), clean(?) class to be inherited from.
Required to run:[
devel/p5-Class-Data-Inheritable] [
databases/p5-DBI] [
databases/p5-DBIx-ContextualFetch]
Master sites: (Expand)
SHA1: 55f19b018d988cebed30425d5c249f9fdb30dc28
RMD160: 5b903ab5a35b45c0684ad0a3e65f605e2dd1e18e
Filesize: 15.559 KB
Version history: (Expand)
- (2017-07-04) Package added to pkgsrc.se, version p5-Ima-DBI-0.35nb9 (created)