![]() |
![]()
| ![]() |
![]()
NAMEDBICx::TxnInsert - wrap all inserts into transaction SYNOPSISThis component wrap all inserts into transactions. package My::Schema::Entity; __PACKAGE__->load_components(qw/DBICx::TxnInsert Core/); ... WARNINGThis module uses DBIx::Class internals, may be not compatible with future versions of DBIx::Class. You need to use it only in one case: last_insert_id should be called in same transaction as insert itself. For example in case you config is Application(DBIx::Class) <-> pgbouncer <-> postgresql server. METHODSinsertsee DBIx::Class::Row::insert AUTHORVladimir Timofeev, "<vovkasm at gmail.com>" BUGSPlease report any bugs or feature requests to "bug-dbicx-txninsert at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=DBICx-TxnInsert>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. SUPPORTYou can find documentation for this module with the perldoc command. perldoc DBICx::TxnInsert
COPYRIGHT & LICENSECopyright 2009 Vladimir Timofeev, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|