Re: [PDO] PDO version 1 improvements
[email protected] (Ulf Wendel)
| Newsgroups | php.pdo |
|---|---|
| Message-ID | <[email protected]> |
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