Re: Re: Please test PDO
| From: | Wez Furlong | Date: | Mon, 14 Feb 2005 22:41:25 +0000 |
| Subject: | Re: Re: Please test PDO | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-14937@lists.php.net to get a copy of this message | ||
Depends on the functionality.
Drivers are free(*) to implement driver specific methods on the PDO
and PDOStatement objects, provided they are "namespaced"
eg:
$db->mysqlDoSomething()
would be a mysql driver specific feature.
More generic attributes can be accessed or set via the get/setAttribute methods.
(*) while they are "free" to do so, it's better to discuss the feature
first to see if it can be made into a more generic feature of PDO
itself.
-Wez.
On Mon, 14 Feb 2005 23:34:21 +0100, Christian Schneider
<cschneid@cschneid.com> wrote:
> Excuse my ignorance, maybe I missed the answer to Lester's question:
> What's the proposed way of accessing the DB-specific functionality once
> PDO is there? Is everything available through SQL statements or
> get/srcAttribute? After a first look at the MySQL functions my guess is
> that that's the case. At least I can't see anything I need which I
> couldn't reach that way.