in reply to DBIX::Class and transactions
I'm not a die-hard DBIx::Class expert, so take my statement with a grain of salt.
... but I don't see a reason not to use:
while (things_to_process) { $schema->txn_do(sub { # insert your 1000 rows here }); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBIX::Class and transactions
by learnedbyerror (Monk) on Jul 14, 2011 at 11:28 UTC |