Comments

Posted by Bill Karwin (bkarwin) on 2006-11-13T15:22:37.000+0000

Changing fix version to 0.8.0.

Posted by Bill Karwin (bkarwin) on 2007-01-02T19:13:34.000+0000

Hi Marc, I am taking a look at this issue report. I am not understanding what your request is. PHP does not support distinct datatypes corresponding to the different SQL datatypes. What behavior are you asking for, that is different from the behavior today?

If I write a object using Zend_Db_Table i can define which columns have which sql data types.
than on get the data from database with e.g. "$this->find($id)" Zend_Db_Table can automatic cast the sql data types to php

e.g.
int, smallint ... can cast to integer on php.
On now these are string values.

Posted by Bill Karwin (bkarwin) on 2007-02-16T17:41:57.000+0000

Hi Marc, thank you for your explanation. We may have time to implement this in Zend Framework 0.9.

Posted by Wil Sinclair (wil) on 2008-03-25T20:43:54.000+0000

Please categorize/fix as needed.

Posted by Wil Sinclair (wil) on 2008-04-18T13:11:50.000+0000

This doesn't appear to have been fixed in 1.5.0. Please update if this is not correct.

Posted by Wil Sinclair (wil) on 2008-12-04T13:17:29.000+0000

Reassigning to Ralph since he's the new maintainer of Zend_Db

Posted by Ralph Schindler (ralph) on 2009-01-09T10:28:33.000+0000

Should this be done at the Zend_Db_Table level or perhaps a feature of Zend_Db_Adapter? ALso, should this be an opt-in feature? It seems like explicit casting of every property in a result set might incur quite a cost.