N
Nick Bicknell
Hi,
For the Ruby DBI experts out there...
I'm using Ruby DBI and MySQL and I'm wondering if there's a method that I'm missing that will yield the last inserted id for a given table after issuing an insert. In the Perl DBI, there's a way to get it with $sth->{mysql_insertid}. Is there something in Ruby DBI that is equivalent?
Thanks,
Nick
For the Ruby DBI experts out there...
I'm using Ruby DBI and MySQL and I'm wondering if there's a method that I'm missing that will yield the last inserted id for a given table after issuing an insert. In the Perl DBI, there's a way to get it with $sth->{mysql_insertid}. Is there something in Ruby DBI that is equivalent?
Thanks,
Nick