PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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))'