Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
inc/Module/ | H | 28-Aug-2009 | - | 1,757 | 1,294 | |
lib/DBICx/ | H | 28-Aug-2009 | - | 101 | 16 | |
t/ | H | 28-Aug-2009 | - | 142 | 98 | |
Changes | H A D | 28-Aug-2009 | 146 | 10 | 6 | |
MANIFEST | H A D | 28-Aug-2009 | 404 | 21 | 20 | |
META.yml | H A D | 28-Aug-2009 | 711 | 31 | 30 | |
Makefile.PL | H A D | 28-Aug-2009 | 323 | 19 | 12 | |
README | H A D | 28-Aug-2009 | 1.6 KiB | 56 | 39 |
README
1NAME 2 DBICx::TxnInsert - wrap all inserts into transaction 3 4SYNOPSIS 5 This component wrap all inserts into transactions. 6 7 package My::Schema::Entity; 8 __PACKAGE__->load_components(qw/DBICx::TxnInsert Core/); 9 ... 10 11WARNING 12 This module uses DBIx::Class internals, may be not compatible with 13 future versions of DBIx::Class. 14 15 You need to use it only in one case: last_insert_id should be called in 16 same transaction as insert itself. For example in case you config is 17 Application(DBIx::Class) <-> pgbouncer <-> postgresql server. 18 19METHODS 20 insert 21 see DBIx::Class::Row::insert 22 23AUTHOR 24 Vladimir Timofeev, `<vovkasm at gmail.com>' 25 26BUGS 27 Please report any bugs or feature requests to `bug-dbicx-txninsert at 28 rt.cpan.org', or through the web interface at 29 http://rt.cpan.org/NoAuth/ReportBug.html?Queue=DBICx-TxnInsert. I will 30 be notified, and then you'll automatically be notified of progress on 31 your bug as I make changes. 32 33SUPPORT 34 You can find documentation for this module with the perldoc command. 35 36 perldoc DBICx::TxnInsert 37 38 * RT: CPAN's request tracker 39 http://rt.cpan.org/NoAuth/Bugs.html?Dist=DBICx-TxnInsert 40 41 * AnnoCPAN: Annotated CPAN documentation 42 http://annocpan.org/dist/DBICx-TxnInsert 43 44 * CPAN Ratings 45 http://cpanratings.perl.org/d/DBICx-TxnInsert 46 47 * Search CPAN 48 http://search.cpan.org/dist/DBICx-TxnInsert/ 49 50COPYRIGHT & LICENSE 51 Copyright 2009 Vladimir Timofeev, all rights reserved. 52 53 This program is free software; you can redistribute it and/or modify it 54 under the same terms as Perl itself. 55 56