PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Database » DB » Bug #241

DB::common autoExecuteMultiple

Details

Submitted2003-11-14 04:05 UTC
Fromaaron dot hawley at uvm dot edu
Assigneddanielc
StatusWont fix
PackageDB
PHP VersionIrrelevant
Roadmaps(Not assigned)

Comments

[2003-11-14 04:05 UTC] aaron dot hawley at uvm dot edu

Description:
------------
I want the industrial-strength of autoPrepare and autoExecute combined into a routine which will not only create insert and update query statements, but take arrays of associate arrays where the keys are columns and values data to insert or update. This could even go as far as allowing the table names, modes (DB_AUTOQUERY_INSERT, DB_AUTOQUERY_UPDATE), and where statements to be arrays, too.

PHP arrays are great, we might as well use them.

Reproduce code:
---------------
http://news.php.net/article.php?group=php.pear.dev&article=23590

I can post patch here if a URL is frowned upon.

[2003-12-21 04:00 UTC] aaron dot hawley at uvm dot edu

Are you trying to attach an amendment in hopes of killing my bill?

I don't disagree with that perspective, but seems like an arbitrary judgement given the auto* stuff is already there. I'm sure I was and would be turned off as a new user by all these extra methods, too. Then I saw the Todo list for this package? Then I didn't feel so bad about this patch.

So are you going to request DB_Auto_Multiple_Methods, or shall I?