From f0798c969392a75533d74954c16abd300020368a Mon Sep 17 00:00:00 2001 From: Aaron Dalton Date: Sat, 18 Feb 2006 21:55:07 +0000 Subject: Adding port databases/p5-Iterator-DBI, An iterator for returning DBI query results. Committed by: aaron Approved by: tobez (implicit) --- databases/p5-Iterator-DBI/pkg-descr | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 databases/p5-Iterator-DBI/pkg-descr (limited to 'databases/p5-Iterator-DBI/pkg-descr') 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 -- cgit v1.2.3