Colin Guthrie-6 wrote:
>
> Colin Guthrie wrote:
>> As another note, why is the mode compared to the PDO:: namespace and not
>> the Zend_Db:: one for the constants? Even if there is a 1::1 mapping,
>> this seems wrong and it would make more sense (to me) to do the
>> following despite the fact it's more verbose:
>
> Has anyone any feedback on this? I want to know if I've interpreted this
> incorrectly or if I should create a ticket/bug/whatever ZF calls them
> for this.
>
Hi Colin, I worked on Zend_Db quite a bit during 2007. The COLUMN fetch
mode was not supported when I joined the project, and I don't recall anyone
mentioning any interest in it, so I didn't bother with it when there were so
many other tasks to do that were in high demand.
So: not an oversight, not by design, just never got around to it.
Likewise there was no purpose for using PDO constants instead of Zend_Db
constants with identical name and value. There was no functional need to
change them in code that was internal to Zend_Db, and no justification for
spending time on it when there was a long list of other things to do that
would result in more substantial benefit.
Regards,
Bill Karwin
--
View this message in context:
http://www.nabble.com/PDO-and-setFetchMode-weirdness-tp19690971p19749954.html
Sent from the Zend Framework mailing list archive at Nabble.com.