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


DBIx-Class-QueryLog documentation  | view source Contained in the DBIx-Class-QueryLog distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

METHODS

Top

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

Top

Cory G Watson, <gphat at cpan.org>

ACKNOWLEDGEMENTS

Top

COPYRIGHT & LICENSE

Top


DBIx-Class-QueryLog documentation  | view source Contained in the DBIx-Class-QueryLog distribution.