Re: MDB 2: Lobs

From: Date: Tue, 23 Sep 2003 11:45:40 +0000
Subject: Re: MDB 2: Lobs
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-7995@lists.php.net to get a copy of this message
Lukas Smith wrote:
From: Jeroen Houben [mailto:jeroen@terena.nl] Sent: Tuesday, September 23, 2003 1:16 PM
On http://marc.theaimsgroup.com/?l=pear-general&m=106423634425790&w=2
I
read about MDB2 having way different LOB support. Could you shed some more light on this?
It is much simplified and more importantly it is now supported in the bulk fetching methods. Take a look at the usage unit tests in the "tests" directory. There you can see the new API. Comparing it to the old version of that test should make it clear how different the API is. Ok thanks. Having a quick look at it it, inserting blobs doesn't seem all that different.
One thing noticed was that you no longer have to create LOB objects anymore which is nice. Fetching blobs however looks way easier and much more intuitive now, it's just like any of the other datatypes by the looks of it (unless I missed something) which is really nice :-). This will mean a BC break though I'm assuming... jeroen

« previous php.pear.general (#7995) next »