Matt S Trout wrote:

Neither of these are standard DBIx::Class methods; the standard approach
is to do

my $obj = $rs->new(\%data);

<maybe use $obj->column_name($value) to set more data>

$obj->insert;

... I see. It does not depend on model implementation.

Ok than, assume I'm using DBI connection without AutoCommit (AutoCommit is often a very bad practice). Where should I put commit/rollback calls?

Alex.


_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to