mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 20:06:29 -04:00
Updated to 0.89
This commit is contained in:
parent
c9722e657e
commit
0efca268cd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61960
3 changed files with 11 additions and 10 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= Class-DBI
|
||||
PORTVERSION= 0.86
|
||||
PORTVERSION= 0.89
|
||||
CATEGORIES= databases perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Class
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (Class-DBI-0.86.tar.gz) = 6855d1532296332623fc0da0da6c4b41
|
||||
MD5 (Class-DBI-0.89.tar.gz) = 5336c839d5ca3e6dc8980fe4eac5fe73
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
Although the difficulties in serialising objects to a relational
|
||||
database are well documented, we often find outselves using such a
|
||||
database to store the data that will make up the objects in our system.
|
||||
Class::DBI provides a convenient abstraction layer to a database.
|
||||
|
||||
Thus we end up writing many classes, each mapping to a table in our
|
||||
database, and each containing accessor and mutator methods for each of
|
||||
the columns. We then write simple constructors, search methods and the
|
||||
like for each these classes.
|
||||
It not only provides a simple database to object mapping layer, but can
|
||||
be used to implement several higher order database functions (triggers,
|
||||
referential integrity, cascading delete etc.), at the application level,
|
||||
rather than at the database.
|
||||
|
||||
Class::DBI is here to make this task trivial.
|
||||
This is particularly useful when using a database which doesn't support
|
||||
these (such as MySQL), or when you would like your code to be portable
|
||||
across multiple databases which might implement these things in
|
||||
different ways.
|
||||
|
||||
WWW: http://search.cpan.org/search?dist=Class-DBI
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue