DBIx::Class::QueryLog::Transaction - A Transaction |
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
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)
Cory 'G' Watson, <gphat at cpan.org>
Copyright 2007 Cory 'G' Watson, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
DBIx::Class::QueryLog::Transaction - A Transaction |