Re: pdo driver levels
| From: | Curt Zirzow | Date: | Mon, 02 Jan 2006 20:37:20 +0000 |
| Subject: | Re: pdo driver levels | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-3375@lists.php.net to get a copy of this message | ||
On Sun, Jan 01, 2006 at 04:28:06PM +0100, Lukas Smith wrote:
> Hi,
>
> I think I have heard other people mention this before, but I would like
> to bring this topic up again. It might be a good idea to define driver
> "levels" that could help indicate how complete the given driver is.
>
> I do not have a real game plan yet, nor do I have a real overview where
> drivers diverge at this point. However I presume we will get some more
> features into PDO over time and so I presume the differences will become
> bigger, especially for newer drivers.
>
> Possible points could be:
> - transaction support
> - native prepared query support
> - LOB streaming
> - a set of minimal supported sqlstate error codes
> - support for lastinsertid
> - column metadata reading
> - multi result set handling
> - cursors
- rowCount() on selects, returns a value.
>
> So the idea would be to define a number of support levels for drivers,
> so that users could quickly check if the given driver fullfills the
> requirements of their application.
A couple of issued I see:
1) this can get rather complicated on what does what.
2) Not only does the client need to support things but the server
the client is talking to needs to support these things as
well.
Curt.
--
cat .signature: No such file or directory