Any Ideas how I can build the following query with the zend_db_table class?
SELECT SUM(x) FROM traffic
thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t actually use
Zend_Db_Tableat all, but if you know how to configure basic queries, use this expression insteadRead it as pseudocode, I don’t know the syntax of
Zend_Db_Table.The
new Zend_Db_Expr('some mysql keywords')is used to let the engine know that you have a keyword in the query which should not be escaped.