2008年10月30日星期四

[fw-mvc] Zend_Db prepare statements with two references to named parameter

This is really weird:

SELECT * FROM table WHERE col = :bindVal AND col2 = :bindVal

does not work, it appears that Zend_Db has problems with using the same
bind parameter in the same statement more than once!

Is this by design???

没有评论: