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_DataObject » Bug #1094

whereAdd() method of DB_DataObject

Details

Submitted2004-03-30 05:58 UTC
Fromgreg at rhythmicdesign dot com
Assignedalan_k
StatusClosed
PackageDB_DataObject
PHP Version4.3.4
OS*nix
Roadmaps(Not assigned)

Comments

[2004-03-30 05:58 UTC] greg at rhythmicdesign dot com

Description:
------------
This may not necessarily be a bug, but it after looking at the code for
whereAdd, it appears you cannot nest where clauses. I suppose you
could hack it, but it would be nice to be able do the following:

'WHERE ((example = 1 AND example = 5) OR (other = 2 OR that = 10))'