GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DBICx::TxnInsert(3) User Contributed Perl Documentation DBICx::TxnInsert(3)

DBICx::TxnInsert - wrap all inserts into transaction

This component wrap all inserts into transactions.

    package My::Schema::Entity;
    __PACKAGE__->load_components(qw/DBICx::TxnInsert Core/);
    ...

This 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.

see DBIx::Class::Row::insert

Vladimir Timofeev, "<vovkasm at gmail.com>"

Please 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.

You can find documentation for this module with the perldoc command.

    perldoc DBICx::TxnInsert
  • RT: CPAN's request tracker

    <http://rt.cpan.org/NoAuth/Bugs.html?Dist=DBICx-TxnInsert>

  • AnnoCPAN: Annotated CPAN documentation

    <http://annocpan.org/dist/DBICx-TxnInsert>

  • CPAN Ratings

    <http://cpanratings.perl.org/d/DBICx-TxnInsert>

  • Search CPAN

    <http://search.cpan.org/dist/DBICx-TxnInsert/>

Copyright 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.

2009-08-28 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.