Re: [DB] returning typed data when fetching rows

From: Date: Fri, 06 Aug 2004 06:59:35 +0000
Subject: Re: [DB] returning typed data when fetching rows
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-32474@lists.php.net to get a copy of this message
Guillaume Cocatre-Zilgien wrote:
I have been writing a custom class for using a PostgreSQL database, while looking at the DB classes to see if I could take advantage of them. Although I plan to use them in the near future, there is at least one feature that I find missing from them: I would like to have strongly typed data when fetching rows. If a column is of type INTEGER, I expect to get PHP integers, arrays, booleans instead of strings ('4', '{"foo","bar",{"this is foobar"}}', 't'...).
MDB and MDB2 already do this. *sigh* regards, Lukas

« previous php.pear.dev (#32474) next »