a little suggestion on DB

From: Date: Fri, 22 Nov 2002 20:00:58 +0000
Subject: a little suggestion on DB
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-2813@lists.php.net to get a copy of this message
Dear pear-designers, In order to have a very flexible library, i have one observation on DB nextId() function: If you build a system in mysql using auto_increment pk, then you perform all insert using last_insert_id(). It could be greater to generalize the nextId function to report the last_insert_id() if it is the case of mysql and the argument is empty. That could simplify a lot of migration stuff from one database to another. Regards Pablo Roman Universidad de Chile

« previous php.pear.general (#2813) next »