Timm Friebe wrote:

while testing PDO I was astonished to see that all values (regardless of
their types in the database) are returned as strings (in all extensions
except for PgSQL). Why is that so? It _is_ quite inconsistent, isn't it?
Wasn't PDO supposed to _unify_ the RDBMS access apis?

I dont know the actual implementation but at the last meeting we came to the conclusion that PDO will pass back proper types if the RDBMS does and strings if the RDBMS doesnt. Anything more would require the users from providing this metadata or PDO jumping through alot of hoops to fetch this information from the RDBMS.


BTW: ibase will probably (eventually) also fall in the sam categorie because iirc Ard was the one who started the discussion on this at the last meeting.

regards,
Lukas

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to