in reply to Re^2: Getting ID of last row inserted into database
in thread Getting ID of last row inserted into database
SQLite, MySQL 4.0 and PostgreSQL 8.1 all pass my tests. I think SERIAL UNIQUE NOT NULL was also necessary for Pg, but not sure.$self->db->dbh->last_insert_id(undef, undef, 'tablename', 'id_name');
|
|---|