Sisyphus repository
Last update: 2018-09-26 13:08:07 +0400 | SRPMs: 18655 | Sign in or Sign up
en ru uk br
ALT Linux repositories
hide window
Sisyphus: 1.005001-alt2
p8: 1.005001-alt2

Other repositories
hide window
CPAN: 1.005001

Group :: Development/Perl
Source RPM: perl-DBIx-Class-QueryLog

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR (0/0)   Repocop 

Current version: 1.005001-alt2
Built: over 2 years ago
Size: 21.8 KB
Repocop status: ok

Home page:

License: perl
Summary: Log queries for later analysis.

DBIx::Class::QueryLog 'logs' each transaction and query executed so you can
analyze what happened in the 'session'. It must be installed as the debugobj
in DBIx::Class:

use DBIx::Class::QueryLog;
use DBIx::Class::QueryLog::Analyzer;

my $schema = ... # Get your schema!
my $ql = DBIx::Class::QueryLog->new;
... # do some stuff!
my $ana = DBIx::Class::QueryLog::Analyzer->new({ querylog => $ql });
my @queries = $ana->get_sorted_queries;

Every transaction and query executed will have a corresponding Transaction
and Query object stored in order of execution, like so:


This array can be retrieved with the log method. Queries executed inside
a transaction are stored inside their Transaction object, not inside the
QueryLog directly.

See the DBIx::Class::QueryLog::Analyzer manpage for options on digesting the results
of a QueryLog session.

If you wish to have the QueryLog collecting results, and the normal trace
output of SQL queries from DBIx::Class, then set `passthrough' to 1


Current maintainer: Igor Vlasenko

List of contributors: ACL: List of rpms provided by this srpm:
  • perl-DBIx-Class-QueryLog
Recent changes (last three changelog entries):

2016-03-21 Igor Vlasenko <viy at> 1.005001-alt2

    - to Sisyphus

2015-12-15 Igor Vlasenko <viy at> 1.005001-alt1

    - regenerated from template by package builder

2015-12-01 Igor Vlasenko <viy at> 1.004001-alt1

    - regenerated from template by package builder

© 2009–2018 Igor Zubkov