Manual Reference Pages - DBIX::CLASS::QUERYLOG::TRANSACTION (3)
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
get_sorted_queries([ CW$sql ])
Returns all the queries in this Transaction, sorted by elapsed time.
If given an argument of an SQL statement, only queries matching that statement
will be considered.
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.
|perl v5.20.3 ||DBIX::CLASS::QUERYLOG::TRANSACTION (3) ||2015-12-08 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.