Re: Re: PDO Oracle driver

From: Date: Thu, 23 Apr 2015 11:11:03 +0000
Subject: Re: Re: PDO Oracle driver
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-85918@lists.php.net to get a copy of this message
Lester Caine wrote: > On 23/04/15 11:22, Arvids Godjuks wrote: > >> I can definetly make a case that PDO restricts MySQL too. It lacks a lot of >> functionality comparing to mysqli. I also found out recently that you can't >> have a named param appear in a query more than once (an OR case, where 2 >> fields are compared against sma e value). The more you work, the more you >> understand that PDO was a hype, that never got finished and got almost >> abandoned. > > Now that is that sort of feedback I was not expecting ... I don't use > MySQL so to see that it has some inherent problems with PDO as most of > the other databases is news. I think PDO is probably now too embedded in > some projects to roll back but certainly it's limitations need to be > better documented? Some of it's restrictions can not be solved by > changes to the code, they are incompatible with the base format, but > there is nothing explaining that. The introduction man page on PDO[1] states: | 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. [1] <http://php.net/manual/en/intro.pdo.php> -- Christoph M. Becker

« previous php.internals (#85918) next »