|
|
| more useful options | |
| PerlMonks |
Re: Class::DBI vs DBD::ODBCby dbwiz (Curate) |
| on Sep 23, 2003 at 09:00 UTC ( [id://293478]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
The latest release of DBI introduced a new method to get the last insert id. See the announcement in the Changelog. However, the DBI documentation warns that this method is heavily influenced by driver implementation. Check out this piece of advice from the DBI docs. It may be able to meet your needs. I didn't test it. * Some drivers may need driver-specific hints about how to get the value. For example, being told the name of the database 'sequence' object that holds the value. Any such hints are passed as driver-specific attributes in the \%attr parameter.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||