SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

MAN page from OpenSuSE perl-Mojo-SQLite-2.002-10.1.noarch.rpm

Mojo::SQLite::Transaction

Section: User Contributed Perl Documentation (3pm)
Updated: 2017-06-01
Index 

NAME

Mojo::SQLite::Transaction - Transaction 

SYNOPSIS

  use Mojo::SQLite::Transaction;  my $tx = Mojo::SQLite::Transaction->new(db => $db);  $tx->commit;
 

DESCRIPTION

Mojo::SQLite::Transaction is a scope guard for DBD::SQLite transactionsused by Mojo::SQLite::Database. 

ATTRIBUTES

Mojo::SQLite::Transaction implements the following attributes. 

db

  my $db = $tx->db;  $tx    = $tx->db(Mojo::SQLite::Database->new);

Mojo::SQLite::Database object this transaction belongs to. 

METHODS

Mojo::SQLite::Transaction inherits all methods from Mojo::Base andimplements the following new ones. 

new

  my $tx = Mojo::SQLite::Transaction->new;  my $tx = Mojo::SQLite::Transaction->new(db => Mojo::SQLite::Database->new);  my $tx = Mojo::SQLite::Transaction->new({db => Mojo::SQLite::Database->new});

Construct a new Mojo::SQLite::Transaction object. 

commit

  $tx->commit;

Commit transaction. 

BUGS

Report any issues on the public bugtracker. 

AUTHOR

Dan Book, "dbookAATTcpan.org" 

COPYRIGHT AND LICENSE

Copyright 2015, Dan Book.

This library is free software; you may redistribute it and/or modify it underthe terms of the Artistic License version 2.0. 

SEE ALSO

Mojo::SQLite


 

Index

NAME
SYNOPSIS
DESCRIPTION
ATTRIBUTES
db
METHODS
new
commit
BUGS
AUTHOR
COPYRIGHT AND LICENSE
SEE ALSO

This document was created byman2html,using the manual pages.