mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
e8e1270052
DBI. From its description ... Query preparation and execution are combined in a single method, the result object (which is a wrapper around the statement handle) provides easy row-by-row and slurping methods. The "query" method returns either a result object, or a dummy object. The dummy object returns undef (or an empty list) for all methods and when used in boolean context, is false. The dummy object lets you postpone (or skip) error checking, but it also makes immediate error check simply " $db->query(...) or die $db->error". WWW: http://search.cpan.org/dist/DBIx-Simple/ PR: ports/90230 Submitted by: Parv <parv@pair.org>
15 lines
680 B
Plaintext
15 lines
680 B
Plaintext
DBIx::Simple module aims to be a simplified object oriented interface to Perl
|
|
DBI. From its description ...
|
|
|
|
Query preparation and execution are combined in a single method, the result
|
|
object (which is a wrapper around the statement handle) provides easy
|
|
row-by-row and slurping methods.
|
|
|
|
The "query" method returns either a result object, or a dummy object. The
|
|
dummy object returns undef (or an empty list) for all methods and when used in
|
|
boolean context, is false. The dummy object lets you postpone (or skip) error
|
|
checking, but it also makes immediate error check simply " $db->query(...) or
|
|
die $db->error".
|
|
|
|
WWW: http://search.cpan.org/dist/DBIx-Simple/
|