Contributing code DB-Package
| From: | Thorsten Suckow-Homberg | Date: | Fri, 01 Aug 2003 11:56:39 +0000 |
| Subject: | Contributing code DB-Package | ||
| Groups: | php.pear.qa | ||
| Request: | Send a blank email to pear-qa+get-101@lists.php.net to get a copy of this message | ||
Hello NG,
I posted this one before in pear.dev, but I think this may be the better
place for asking:
Right now I am working on a method that will work like the known facilities
autoPrepare() and autoExecute() on Select-Statements.
<?php
(...) // $dbh is an DB object
$table_fields = array('id', 'name', 'country');
$table_name = 'user';
$sth = $dbh->autoPrepare($table_name, $table_fields, DB_AUTOQUERY_SELECT);
//OR: $sth = $dbh->autoPrepare($table_name, $table_fields,
DB_AUTOQUERY_SELECT, 'id = 1');
$aUsers=$dbh->execute($sth);
?>
I was missing this in the Pear-DB package.
Whats the best way to contribute the code?
Hack it down and send to the original developers of the package or just add
to the cvs-Tree?
I've never worked on a cvs-Project like this so I hope I get some answers
that point me into the right direction.
Kind regards
Thorsten Suckow-Homberg