Hi, I have the following code
$result = $handle->select()->from('store_details')
->where('store_details.store_id=?', $id)
->columns('store_details.store_name');
//->query(ZEND_DB::FETCH_OBJ);
However, when I run it, the entire row is selected, not just the column I wanted.
Here is the output from __toString
SELECT `store_details`.*, `store_details`.`store_name` FROM `store_details` WHERE (store_details.store_id=8)
Any help?