Hi Michael

This issue is already scheduled for fixing in the Bug tracker - it may not be ready for some weeks yet.

How can I preserve the column case when using Zend_Db_Table?  I am using the latest version from the trunk. 

$db = Zend_Db::factory('PDO_MYSQL', $config->db->asArray());
Zend_Db_Table::setDefaultAdapter($db);
// Table Columns: id, first_name, last_name
class Clients extends Zend_Db_Table {}
$clients = new Clients();
$results = $clients->fetchAll();

echo $results->first_name; // Fatal error: Uncaught exception 'Zend_Db_Table_Row_Exception' with message 'column 'first_name' not in row
echo $results->firstName // works ok




--
Michael DePetrillo
[EMAIL PROTECTED]
Mobile: (858) 761-1605
AIM: klassicd

--

Simon Mundy | Director | PEPTOLAB

""" " "" """""" "" "" """"""" " "" """"" " """"" "  """""" "" "
202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654 4124


Reply via email to