Top Level :: Database

Package Information: DB

This package has been superseded, but is still maintained for bugs and security fixes. Use MDB2 instead.
» Summary » License
Database Abstraction Layer PHP License
» Current Release » Bug Summary
1.7.14RC1 (beta) was released on 2007-11-27 (Changelog)
1.7.13 (stable) was released on 2007-09-21 (Changelog)
Development Roadmap (next release: 1.7.14RC2 in -92 days!!, 0% complete)
  • Package Maintenance Rank: 72 of 166 packages with open bugs
  • Number of open bugs: 13 (335 total bugs)
  • Average age of open bugs: 372 days
  • Oldest open bug: 667 days
  • Number of open feature requests: 1 (93 total feature requests)

Report a new bug to DB
» Description
DB is a database abstraction layer providing:
* an OO-style query API
* portability features that make programs written for one DBMS work with other DBMS's
* a DSN (data source name) format for specifying database servers
* prepare/execute (bind) emulation for databases that don't support it natively
* a result object for each query response
* portable error codes
* sequence emulation
* sequential and non-sequential row fetching as well as bulk fetching
* formats fetched rows as associative arrays, ordered arrays or objects
* row limit support
* transactions support
* table information interface
* DocBook and phpDocumentor API documentation

DB layers itself on top of PHP's existing
database extensions.

Drivers for the following extensions pass
the complete test suite and provide
interchangeability when all of DB's
portability options are enabled:

fbsql, ibase, informix, msql, mssql,
mysql, mysqli, oci8, odbc, pgsql,
sqlite and sybase.

There is also a driver for the dbase
extension, but it can't be used
interchangeably because dbase doesn't
support many standard DBMS features.

DB is compatible with both PHP 4 and PHP 5.
» Maintainers » More Information
» Packages that depend on DB