Re: DB_DataObjects and generating search filters
| From: | pear at electroteque dot org | Date: | Thu, 21 Apr 2005 05:08:50 +0000 |
| Subject: | Re: DB_DataObjects and generating search filters | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18857@lists.php.net to get a copy of this message | ||
> It looks like from the code whereAdd is appending the string :| So any
> whereAdd's after setFrom append not overright it.
>
It looks like we could possibly set condition setter methods inside
_build_condition, it seems to work however update and delete use this so
may need to use a flag to use them. Is this going to be a complete hack or
fixing a limitation ? I was assuming the DO could do this seeing that it
can generate variables nicely from post data, but building conditions for
search is near impossible automatically :)