0
如何使与Zend_SelectZend_Select选择静态值
SELECT "subdivision" as `type`, a.id as id FROM `some_table` a;
的请求这样做
$ this-> select()
-> from (
array ('a' => 'some_table'), array ('type' => "subdivision", 'id' => 'a.id')
)
结果
SELECT `a`. `" Subdivision "` as `type`, a.id as id FROM `some_table` a;
谢谢,工作正常 –