$select->from(
    'tablename',
   array(
      '*',
     'product'=>new Zend_Db_Expr('aaa')
   )
)

I think

Nikolay Alexeev wrote:
> 
> How can I repeat such query with Zend_Db_Select:
> 
> SELECT *,'aaa' AS product
> FROM tablename
> 
> 'aaa' - raw string, not column name
> 
> ? 
>  
> 

-- 
View this message in context: 
http://www.nabble.com/Zend_Db_Select--question-tp19090172p19090814.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to