databases/p5-Iterator-DBI 0.02_1 FreeBSD
Iterator for returning DBI query results
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- databases, perl5
- Package size
- 8.9 KiB, 14.6 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 |
|---|---|---|
| FreeBSD | databases/p5-Iterator-DBI | 0.02_1 |
| DragonFly | 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 the ports tree:
cd /usr/ports/databases/p5-Iterator-DBI/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Iterator-DBI>0:databases/p5-Iterator-DBI
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.02_1 | 0.02_1 | 0.02_1 | 0.02_1 | 0.02_1 |
| FreeBSD:14:quarterly | 0.02_1 | 0.02_1 | n/a | 0.02_1 | 0.02_1 |
| FreeBSD:15:latest | 0.02_1 | 0.02_1 | n/a | 0.02_1 | 0.02_1 |
| FreeBSD:15:quarterly | 0.02_1 | 0.02_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.02_1 | 0.02_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
p5-Iterator>=0: devel/p5-Iterator
Runtime 1
p5-Iterator>=0: devel/p5-Iterator
The full lists below include those, and their dependencies in turn.
Build dependencies 5
Run dependencies 5
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%PERL5_MAN3%%/Iterator::DBI.3.gz
- %%SITE_PERL%%/Iterator/DBI.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Iterator-DBI-0.02.tar.gz | 7699 | 1dc59488d3b3117787bff1ae8b81227dbb6d92a0efcb35877912f9289b012f1b |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.