Re: some MDB2 questions

From: Date: Sun, 13 Feb 2005 02:43:15 +0000
Subject: Re: some MDB2 questions
References: 1 2 3 4 5 6 7 8  Groups: php.pear.dev php.pear.dev 
Request: Send a blank email to pear-dev+get-36172@lists.php.net to get a copy of this message
Another question: Why was the signature of autoExecute() changed in an incompatible way? (IMO without any need) From PEAR::DB: function autoExecute($table, $fields_values, $mode = DB_AUTOQUERY_INSERT, $where = false) And PEAR::MDB2: function &autoExecute($table, $fields_values, $types = null, $result_types = null, $mode = MDB2_AUTOQUERY_INSERT, $where = false, $result_class = true) If this would be something like: function &autoExecute($table, $fields_values, $mode = MDB2_AUTOQUERY_INSERT, $where = false, $types = null, $result_types = null, $result_class = true) this API would be compatible to existing PEAR::DB code. Also if you do do not want to use these parameters its not nice to write. Andreas

« previous php.pear.dev (#36172) next »