PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » DB_QueryTool

An OO-interface for easily retrieving and modifying data in a DB.

This package is unmaintained.

Download latest release 1.1.2 (archived versions might be outdated)

License: BSD

Description

This package is an OO-abstraction to the SQL-Query language, it provides methods such
as setWhere, setOrder, setGroup, setJoin, etc. to easily build queries.
It also provides an easy to learn interface that interacts nicely with HTML-forms using
arrays that contain the column data, that shall be updated/added in a DB.
This package bases on an SQL-Builder which lets you easily build
SQL-Statements and execute them.

Documentation

Manual

Maintainers

Dependencies

Required

Releases

Bugs

IDStatusTypeVersionDateSummary
#284ClosedBug2003-11-23Log::factory() needs to return a reference
#298ClosedBug2003-11-26[M]DB_QueryTool::reset doesnt take care of limit
#945ClosedBug2004-03-04[Patch] Return result object
#954ClosedBug2004-03-05Can't set primary key with add()
#1038ClosedBug2004-03-19joins don't work becaus second array_merge parameter line 1451
#1588ClosedBug2004-06-08Error when instancing with no dsn
#1614ClosedBug2004-06-11Wrong options-array passed to DB::connect()
#2007ClosedBug2004-07-28Doesn't support using an existing DB object, but the docs says it should
#2133ClosedBug2004-08-16DB_QueryTool_Query::addLeftJoin(), bugs if none left join was previously set
#2515ClosedBug2004-10-12Adding more than one Left-Join doesn´t work properly
#3290ClosedBug2005-01-25DB_QueryTool_Query::getCount() method return zero when using an offset
#3902ClosedBug2005-03-21package is not ready to work with primaryCol not int
#4128DuplicateBug2005-04-12primary key quoting in update()
#4189ClosedBug2005-04-20update() quote even if "raw" option is set
#4377ClosedBug2005-05-18Broken link "External Package Homepage"
#4613ClosedBug2005-06-16Table Names Not Quoted
#5037BogusBug2005-08-09"setLimit" is not working properly
#5250ClosedBug2005-08-31Table Name needed in queries
#5785Wont fixReq2005-10-25CHECK NOT NULL Columns
#7316ClosedBug1.7.62006-04-05Passing function calls by reference breaks in php5
#7580ClosedReq1.0.32006-05-08getOne
#8129ClosedReq1.0.32006-07-06how to build a update query as "set field=field+1" ?
#9197DuplicateBug2006-10-31DB_QueryTool does not save
#12353ClosedBug1.1.02007-10-28wrong field name quoting
#14850ClosedBug1.1.22008-10-22order by direction inside of backticks
#14862ClosedBug1.1.22008-10-25Fatal error: Call to undefined method DB_Error::tableinfo()
#18968ClosedBugSVN2011-11-07Tests fail