Before I even start trying, I am wondering how difficult it is to re-fashion an elaborate SELECT query (MySQL) into a Zend_Db_Select object. There are things like IF() containing nested CASE statements. Are there limits, for example, on how complicated a Zend_Db_Expr() can get?
I guess the other option is to create a view. The point is to have all the basic heavy lifting cleanly encapsulated and add more WHERE clauses programmatically.
--
Support real health care reform:
http://phimg.org/
--
David Mintz
http://davidmintz.org/
2010年6月28日星期一
订阅:
博文评论 (Atom)
没有评论:
发表评论