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


Manual Reference Pages  -  DBIX::CLASS::QUERYLOG::TRANSACTION (3)

.ds Aq ’

NAME

DBIx::Class::QueryLog::Transaction - A Transaction

CONTENTS

VERSION

version 1.005001

SYNOPSIS

Represents a transaction. All queries executed with the context of this transaction are stored herein, as well as a start time, end time and flag for committed or rolledback.

METHODS

    new

Create a new DBIx::Class::QueryLog::Transcation

    bucket

The bucket this tranaction is in.

    queries

Arrayref containing all queries executed, in order of execution.

    committed

Flag indicating if this transaction was committed.

    rolledback

Flag indicating if this transaction was rolled back.

    start_time

Time this transaction started.

    end_time

Time this transaction ended.

    time_elapsed

Time this transaction took to execute. start - end.

    add_to_queries

Add the provided query to this transactions list.

    count

Returns the number of queries in this Transaction

get_sorted_queries([ CW$sql ])

Returns all the queries in this Transaction, sorted by elapsed time. (descending).

If given an argument of an SQL statement, only queries matching that statement will be considered.

AUTHORS

o Arthur Axel fREW Schmidt <frioux+cpan@gmail.com>
o Cory G Watson <gphat at cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Cory G Watson <gphat at cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

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


perl v5.20.3 DBIX::CLASS::QUERYLOG::TRANSACTION (3) 2015-12-08

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