Hello to all,
Any ideas on how to cast/transform a string to an object of type
Zend_Db_Select? Ideally, without rewriting it by hand.
Thank you very much
This is not possible. For that to happen, you'd need an SQL
parser/tokenizer, which there is not one in ZF. Moreover, the SQL you
have is probably somewhat specific to a particular vendor implementation
of SQL which, again, would make it really hard to build a
parser/tokenizer that knows
Subject: Re: [fw-general] String to Zend_Db_Select Object
To: Andrei Iarus poni1...@yahoo.com
Cc: Zend Framework fw-general@lists.zend.com
Date: Thursday, August 12, 2010, 6:47 PM
This is not possible. For that to happen, you'd need an SQL parser/tokenizer,
which there is not one in ZF. Moreover
: Re: [fw-general] String to Zend_Db_Select Object
To: Andrei Iarus poni1...@yahoo.com
Cc: Zend Framework fw-general@lists.zend.com
Date: Thursday, August 12, 2010, 6:47 PM
This is not possible. For that to happen, you'd need an SQL parser/
tokenizer, which there is not one in ZF. Moreover