Problems? Is your data what you think it is? | |
PerlMonks |
Re: getting last_insert_idby bobf (Monsignor) |
on Mar 28, 2007 at 15:02 UTC ( [id://607041]=note: print w/replies, xml ) | Need Help?? |
DBI has a method called last_insert_id, but you're using DBIx::Class. Take a look at the insert method in DBIx::Class::PK::Auto - it may do the trick.
In Section
Seekers of Perl Wisdom
|
|