On 4/25/06, Doug Arthur <[EMAIL PROTECTED]> wrote:
> What about setting the mode and then having and addWhere function?
>
> setMode("and")
> addWhere(createWhere())
> addWhere(createWhere())
> setMode("or")
> addWhere(createWhere())
> setMode("and")
> addWhere(createWhere())

This would be fine but why not just make andWhere() and orWhere() take
a single "where" object instead?
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood



-- Reactor for ColdFusion Mailing List -- [email protected]
-- Archives at http://www.mail-archive.com/reactor%40doughughes.net/


Reply via email to