Re: [PDO] PDO version 1 improvements
| From: | Ulf Wendel | Date: | Wed, 07 May 2008 13:07:15 +0000 |
| Subject: | Re: [PDO] PDO version 1 improvements | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.pdo |
| Request: | Send a blank email to pdo+get-169@lists.php.net to get a copy of this message | ||
Ulf Wendel schrieb:
The course of PDO is not clear to me. PDO should not call itself a data access abstraction layer if it aims to be more than that. Support for named parameters is part of a SQL abstraction layer. Its strange for me to see that a convenience feature like named parameters is a must and a - in my eyes - basic and more important feature like lastInsertId() gets ignored.From the PHP manual: "PDO provides a data-access abstraction layer, which means that, regardless of which database you're using, you use the same functions to issue queries and fetch data. PDO does not provide a database abstraction; it doesn't rewrite SQL or emulate missing features. You should use a full-blown abstraction layer if you need that facility.", http://de.php.net/manual/en/intro.pdo.php Aha - and why does it have a parser for emulating prepared statements? Ulf