Pierre, As one of the original authors of PDO that is news to me. PDO was designed to allow common functionality to be provided via a common interface, however it was also designed to recognize that not all database interfaces are the same. And as such allowed driver authors to provide custom functions specific to the driver. If you look at the existing driver set, nearly all drivers do that already (SQLite, MySQL, PostgreSQL)...
Preventing addition of functionality for a driver, just because there are no equivalents in other DB interfaces, makes little sense, IMHO. On Mon, May 24, 2010 at 2:04 PM, Pierre Joye <pierre....@gmail.com> wrote: > hi Ilia, > > On Mon, May 24, 2010 at 7:53 PM, Ilia Alshanetsky <i...@prohost.org> > wrote: > > since when? PDO was designed to allow drivers to provide their own > > functions, which many drivers do. > > We discussed that on the PDO list, and we try to avoid to add drivers > specific methods. That's obviously makes sense given the goal of PDO. > > Cheers, > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org >