BSD Ports

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

SystemPortVersion
FreeBSDdatabases/p5-Iterator-DBI0.02_1
DragonFlydatabases/p5-Iterator-DBI0.02_1
HardenedBSDdatabases/p5-Iterator-DBI0.02_1
GhostBSDdatabases/p5-Iterator-DBI0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.02_10.02_10.02_10.02_10.02_1
FreeBSD:14:quarterly0.02_10.02_1n/a0.02_10.02_1
FreeBSD:15:latest0.02_10.02_1n/a0.02_10.02_1
FreeBSD:15:quarterly0.02_10.02_1n/an/an/a
FreeBSD:16:latest0.02_10.02_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

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
FileSizeSHA256
Iterator-DBI-0.02.tar.gz76991dc59488d3b3117787bff1ae8b81227dbb6d92a0efcb35877912f9289b012f1b
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.