[nycphp-talk] PEAR::DB insertID???
Daniel Convissor
danielc at analysisandsolutions.com
Tue Mar 30 10:35:56 EST 2004
Hi Eric:
On Tue, Mar 30, 2004 at 09:13:00AM -0600, Eric Rank wrote:
>
> query. Using mysql_insert_id($dbh->connection) works, but abstracting away
> from db-specific code is the whole point of PEAR::DB right? Any thoughts?
Not all DBMS's provide that capacity. The closest thing DB has is
sequences. Read that Intro section in the manual. I'd provide a URI, but
pear.php.net isn't responding right now.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
More information about the talk
mailing list