Heh
Posted Dec 19, 2011 14:28 UTC (Mon) by
khim (subscriber, #9252)
In reply to:
PHP includes such "reasonable database layer"... by nix
Parent article:
Cracks in the Foundation (PHP Advent)
Well, the example you gave (RETURNING versus ::lastInsertId) looks like the sort of trivial-yet-important thing that any reasonable RDBMS-independent database driver really should abstract over.
s/reasonable/unreasonable/. If it's database driver and not ORM then it's good idea to give you access to raw functions of SQL database. For example ODBC just does not give access to these capabilities so you need to use two SQL requests instead of one. Hardly an improvement.
If it doesn't bother, that says volumes...
Sure. It spokes volumes about unreasonable expectations.
(
Log in to post comments)