2008年8月1日星期五

[fw-db] Why does DB return integers as strings?

I am new to ZF, and puzzled by the behaviour of Zend_DB with the PDO_MYSQL
adapter (ZF ver 1.5.3).

When I use it to query a table that has integer type columns, it returns the
values of the column as strings. Why is that? Is it possible to configure it
somehow so that integer values are returned as integers?
--
View this message in context: http://www.nabble.com/Why-does-DB-return-integers-as-strings--tp18777147p18777147.html
Sent from the Zend DB mailing list archive at Nabble.com.

没有评论: