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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php