palette has asked for the wisdom of the Perl Monks concerning the following question:
I am using DBIx::Class
I have a sequense for this table which will insert the value in the primary key field of this table ie; order_id.
Now after populating the table I want to get the the value inserted inthe primary key field.
Can anyone suggest what si the easiest way of doing this in DBIx::Class
$self->{schema}->populate('Order', [ [ qw/description subcode creationdate/], [ $element->severity."-".$element->message , + $element->completionCode, $current_date ]]);
I have a sequense for this table which will insert the value in the primary key field of this table ie; order_id.
Now after populating the table I want to get the the value inserted inthe primary key field.
Can anyone suggest what si the easiest way of doing this in DBIx::Class
Back to
Seekers of Perl Wisdom