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 }); }
In reply to Re: DBIX::Class and transactions
by moritz
in thread DBIX::Class and transactions
by learnedbyerror
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |