LMPX.COM |
Home | Linux | Mysql | PHP | XML | ||
|
|
|||
From: Ulf Wendel Date: Wed May 7 07:07:15 2008 Subject: Re: [PDO] PDO version 1 improvements
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
| Navigate in group php.pdo at sever news.php.net | |
| Previous | Next |
| © No Copyright You are free to use Anything |
Site Maintained by Zareef Ahmed
Powered By PHP Consultants |