databases/p5-Iterator-DBI 0.02_1 DragonFly
Iterator for returning DBI query results
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- databases, perl5
- Package size
- 8.4 KiB, 14.8 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | databases/p5-Iterator-DBI | 0.02_1 |
| FreeBSD | databases/p5-Iterator-DBI | 0.02_1 |
| HardenedBSD | databases/p5-Iterator-DBI | 0.02_1 |
| GhostBSD | databases/p5-Iterator-DBI | 0.02_1 |
Install
Binary package:
pkg install p5-Iterator-DBI
From DPorts:
cd /usr/dports/databases/p5-Iterator-DBI && make install clean
Dependencies
Run dependencies 2
No port depends on this one.