Cory G Watson > DBIx-Class-QueryLog-1.3.3 > DBIx::Class::QueryLog::Query

Download:
DBIx-Class-QueryLog-1.3.3.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

DBIx::Class::QueryLog::Query - A Query

SYNOPSIS ^

Represents a query. The sql, parameters, start time and end time are stored.

METHODS ^

bucket

The bucket this query is in.

start_time

Time this query started.

end_time

Time this query ended.

sql

SQL for this query.

params

Parameters used with this query.

time_elapsed

Time this query took to execute. start - end.

count

Returns 1. Exists to make it easier for QueryLog to get a count of queries executed.

queries

Returns this query, here to make QueryLog's job easier.

get_sorted_queries

Returns this query. Here to make QueryLog's job easier.

AUTHOR ^

Cory G Watson, <gphat at cpan.org>

ACKNOWLEDGEMENTS ^

COPYRIGHT & LICENSE ^

Copyright 2009 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.

syntax highlighting: