diff options
author | Aaron Dalton <aaron@FreeBSD.org> | 2006-02-18 21:55:07 +0000 |
---|---|---|
committer | Aaron Dalton <aaron@FreeBSD.org> | 2006-02-18 21:55:07 +0000 |
commit | f0798c969392a75533d74954c16abd300020368a (patch) | |
tree | 44af7d314c15d6d0a0a4ffd96bdf682a3c98ff9d /databases/p5-Iterator-DBI/pkg-descr | |
parent | 3bb02f4273d5d70b1416a8b7f4e73cb4b08194fc (diff) | |
download | ports-f0798c969392a75533d74954c16abd300020368a.tar.gz ports-f0798c969392a75533d74954c16abd300020368a.zip |
Notes
Diffstat (limited to 'databases/p5-Iterator-DBI/pkg-descr')
-rw-r--r-- | databases/p5-Iterator-DBI/pkg-descr | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/databases/p5-Iterator-DBI/pkg-descr b/databases/p5-Iterator-DBI/pkg-descr new file mode 100644 index 000000000000..7f5dec6cb5b0 --- /dev/null +++ b/databases/p5-Iterator-DBI/pkg-descr @@ -0,0 +1,15 @@ +his module contains a function to return an iterator (see the Iterator +module) that returns the rows of a database query, one at a time. + +This is marginally more useful than simply calling prepare and execute, +and then repeatedly calling fetchrow_hashref; since this one function +bundles up the calls to all three of those DBI methods. + +But the real usefulness of this interface is that it can be chained +together with other Iterator functions. The "idb_rows" iterator has the +same interface as any other interface, making it interchangeable with +iterators of any other source (for example, files), and usable with the +iterator manipulation functions in the Iterator::Util module. + +WWW: http://search.cpan.org/dist/Iterator-DBI +Author: Eric J. Roode <roode@cpan.org> |