DBIx::Class::QueryLog::Transaction - A Transaction
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.
Create a new DBIx::Class::QueryLog::Transcation
The bucket this tranaction is in.
Arrayref containing all queries executed, in order of execution.
Flag indicating if this transaction was committed.
Flag indicating if this transaction was rolled back.
Time this transaction started.
Time this transaction ended.
Time this transaction took to execute. start - end.
Add the provided query to this transactions list.
Returns the number of queries in this Transaction
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.
- Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>
- Cory G Watson <gphat at cpan.org>
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.