Re: DB_DataObject and instance reuse

From: Date: Thu, 09 Jun 2005 13:19:34 +0000
Subject: Re: DB_DataObject and instance reuse
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-38053@lists.php.net to get a copy of this message
Alan Knowles wrote:
I'm not sure it's a big issue, I dont think many of the backends actually create new connections. and you can usually use $DB =
you are talking about the extensions reusing connections to the same host? i am talking about reusing the entire instance.
$DB_DataObject->getDatabaseConnection(); to get the connection object anyway.
ok, that would work if the direct usuage is a secondary option and not the primary (and db_do the secondary). regards, Lukas

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