Query: moosex::meta::method::transactional
OS: osx
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MooseX::Meta::Method::Transactional(3) User Contributed Perl Documentation MooseX::Meta::Method::Transactional(3)NAMEMooseX::Meta::Method::Transactional - Transactional methods traitDESCRIPTIONThis Role wraps methods in transactions to be used with DBIx::Class, KiokuDB or any other object providing a txn_do method.METHODwrap This role overrides wrap so that the actual method is wrapped in a txn_do call. It uses the 'schema' accessor to obtain the object in which it will call txn_do.ATTRIBUTESschema This attribute contains a CodeRef that should return the schema object. It can be used to pass a schema object when it can be defined in compile-time, otherwise it will call "schema" on the object instance to find it.SEE ALSOMooseX::TransactionalMethods, Class::MOP::MethodAUTHORSDaniel Ruoso <daniel@ruoso.com> With help from rafl and doy from #moose.COPYRIGHT AND LICENSECopyright 2010 by Daniel Ruoso et al This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.16.2 2010-11-24 MooseX::Meta::Method::Transactional(3)
Similar Topics in the Unix Linux Community |
---|
When is a _function_ not a _function_? |
Hearing Aid for OSX 10.12.x and greater. |
Shopt -s histappend |
My first PERL incarnation... Audio Oscillograph |