MDB2 vs. DB - loosing autoPrepare&execute functionality?
| From: | ANR Daemon | Date: | Mon, 22 Sep 2008 02:30:08 +0000 |
| Subject: | MDB2 vs. DB - loosing autoPrepare&execute functionality? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-29287@lists.php.net to get a copy of this message | ||
Greetings, All.
In PEAR::DB, there was possibility to pass unprepared statement and values
directly to querying functions, like
$DB->getAll(query_with_placeholders, data_for_placeholders)
I can't find this functionality in MDB2.
What MDB2 calls "autoprepare/autoexecute" it is, in fact, autobuilding, not
autopreparing. And I can't see where I can use this monstrous syntax (it is
monstrous, cause it includes 2 reference resolutions, and taking in count
names length of used methods - it is unreadable)
Isn't that means it is degradation from PEAR::DB? Why shall I loose simlicity
of my code in favor of someone's poor decision?
Or am I missing something?
--
Sincerely Yours, ANR Daemon <anrdaemon@freemail.ru>