Try:

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

Luke R

Nikolay Alexeev wrote:
Though, it is clear, why id didn't work:


Zend Framework wrote:
class Zend_Db_Expr
{

    protected $_expression;
    public function __construct($expression)
    {
        $this->_expression = (string) $expression;
    }
    public function __toString()
    {
        return $this->_expression;
    }
}



So, i think, i need any other method. If it is possible.

Reply via email to