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;
謝謝,工作正常 –