BSD Ports

databases/pear-MDB2 2.5.0b5nb1 NetBSD

Merge of PEAR DB and Metabase database abstraction layers

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
modified-bsd
Categories
databases, www
Package size
104.4 KiB, 821.2 KiB installed

Description

It provides a common API for all supported RDBMS. The main difference to most other DB abstraction packages is that MDB2 goes much further to ensure portability. MDB2 provides most of its many features optionally that can be used to construct portable SQL statements: * Object-Oriented API * A DSN (data source name) or array format for specifying database servers * Datatype abstraction and on demand datatype conversion * Various optional fetch modes to fix portability issues * Portable error codes * Sequential and non sequential row fetching as well as bulk fetching * Ability to make buffered and unbuffered queries * Ordered array and associative array for the fetched rows * Prepare/execute (bind) named and unnamed placeholder emulation * Sequence/autoincrement emulation * Replace emulation * Limited sub select emulation * Row limit emulation * Transactions/savepoint support * Large Object support * Index/Unique Key/Primary Key support * Pattern matching abstraction * Module framework to load advanced functionality on demand * Ability to read the information schema * RDBMS management methods (creating, dropping, altering)

In the other systems

SystemPortVersion
NetBSDdatabases/pear-MDB22.5.0b5nb1
FreeBSDdatabases/pear-MDB22.5.0.b5_1
DragonFlydatabases/pear-MDB22.5.0.b5_1
HardenedBSDdatabases/pear-MDB22.5.0.b5_1
GhostBSDdatabases/pear-MDB22.5.0.b5_1

Install

Binary package:

pkgin install php56-pear-MDB2

From pkgsrc:

cd /usr/pkgsrc/databases/pear-MDB2 && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_642.5.0b5nb1
NetBSD 10.1 aarch642.5.0b5nb1
SmartOS / illumos x86_642.5.0b5nb1
macOS 15 arm642.5.0b5nb1

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
php74-pear-MDB2-2.5.0b5nb1, php82-pear-MDB2-2.5.0b5nb1, php83-pear-MDB2-2.5.0b5nb1, php84-pear-MDB2-2.5.0b5nb1, php85-pear-MDB2-2.5.0b5nb1