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 » MDB_QueryTool

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

This package is unmaintained.

Download latest release 1.2.3 (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.
NB: this is a PEAR::MDB porting from the original DB_QueryTool
written by Wolfram Kriesing and Paolo Panto (vision:produktion, wk@visionp.de).

Documentation

Manual

Maintainers

Dependencies

Required

Optional

Releases

Bugs

IDStatusTypeVersionDateSummary
#322ClosedBug2003-11-28Undefined var $autoConnect
#520BogusBug2004-01-05Fatal error: Call to undefined method mdb_error::tableinfo() in /usr/local/lib/
#768ClosedBug2004-02-16query update failure(postgresql)
#3485ClosedBug2005-02-15metadata method that not work with 'optimize' option of MDB
#3518ClosedBug2005-02-18Error in _quote when you use raw option = true
#3842ClosedReq2005-03-16Inner/outter join
#3925ClosedBug2005-03-22"Undefined offset" Error!
#7415ClosedBug1.1.02006-04-18Call to undefined method MDB_mysql::queryAssoc
#7532ClosedBugCVS2006-05-01Warning in the constructor MDB_QueryTool_Result_Row
#7570ClosedBug1.1.12006-05-06Postgres SQL bug (case sensitive inserts)
#7642OpenReq2006-05-16Data type abstraction layer does not work not fetched results
#7757BogusBugCVS2006-05-30_makeIndexed return NULL value when db col type is NOT NULL
#7909ClosedBug1.1.12006-06-15nextID broken, prevents records from saving
#8056ClosedReq1.1.12006-06-28Add support to remove() for NULL comparisons
#8292No FeedbackBug1.1.12006-07-26Joining tables where one table name occurs in another table name
#8319ClosedBug1.1.12006-07-29* is stripped from $what when performing simple querys
#8398ClosedBugCVS2006-08-09wrong _buildSelect with * and mysqli driver
#9130ClosedBug1.1.12006-10-21setOrder doubles name of table
#9734ClosedBug1.1.12007-01-04problem with preg_replace statement in _buildGroup
#9872Wont fixReq1.1.12007-01-18Feature Request - get SELECT as assoc array?
#9963ClosedBug1.2.02007-01-29Quoting problem with COUNT(*)
#10073ClosedBugCVS2007-02-12Zero (0) bug with empty() in _localeSafeImplode()
#10160ClosedBug1.2.02007-02-22raw mode still quotes with MDB2
#10246ClosedDoc1.2.02007-03-02Consecutive calls to setWhere don't work
#10890ClosedBug1.2.02007-04-29pgsql -> addMultiple cause Warning "Cannot use a scalar value as an array"
#12905ClosedBug1.2.22008-01-14function add
#13307ClosedBug1.2.22008-03-04Array reference error
#13308ClosedBug1.2.22008-03-04Acess getBeforeID not is possible
#13388ClosedBug1.2.22008-03-13->add with mdb2 and mysql v5.0
#13694ClosedBug1.2.22008-04-16escaping is not working in some cases
#14160ClosedBug1.2.22008-06-17INSERT Fails
#14542OpenBug1.2.22008-08-22Problem with join if field is underscore separated
#14863ClosedBug1.2.22008-10-25Fatal error: Call to a member function quoteIdentifier() on a non-object
#14943ClosedBug1.2.22008-11-03setSelet or addSelect incorrectly quotes function expression
#15463OpenBug1.2.22008-12-30Broken SELECT
#16029No FeedbackReq1.2.22009-03-12Handling Views
#16524OpenBug1.2.22009-08-14Query.add() returns 'NULL' i.o inserted id for MDB2+autoincrement
#17290OpenBug1.2.22010-04-04MySQL AUTO_INCREMENT problems
#19217ClosedBugSVN2012-01-11get unit tests working
#19218ClosedBugSVN2012-01-11_localeSafeImplode() broken for NULL / empty strings