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

Reply via email to