DBIxClassQueryProfiler 005

DBIxClassQueryProfiler 005
  • Downloads: 294
  • Requirements:
  • Size:
  • Licence:
  • Version: 0.05
  • Added At: 2011-18-08
  • Publisher Site:



DBIxClassQueryProfiler 005

Share

DBIx::Class::QueryProfiler is a profiler for DBIx::Class. Also it provides more usable output or queries.SYNOPSYSIn order to start using just declare in your schema the code use DBIx::Class::QueryProfiler; sub connection { my $self = shift; my $response = $self->next::method(@_); $response->storage->auto_savepoint(1); $response->storage->debug(1); $response->storage->debugobj(DBIx::Class::QueryProfiler->new); return $response; }Possible to use debugfh () to select right output debuging filehandle $response->storage->debugfh(IO::File->new('/tmp/trace.out', 'w'));or it can be set through an environment variable DBIC_TRACE export DBIC_TRACE="1=/tmp/trace.out" Requirements:· Perl
DBIx::Class::QueryProfiler is a profiler for DBIx::Class. Also it provides more usable output or queries.SYNOPSYSIn order to start using just declare in your schema the code use DBIx::Class::QueryProfiler; sub connection { my $self = shift; my $response = $self->next::method(@_); $response->storage->auto_savepoint(1); $response->storage->debug(1); $response->storage->debugobj(DBIx::Class::QueryProfiler->new); return $response; }Possible to use debugfh () to select right output debuging filehandle $response->storage->debugfh(IO::File->new('/tmp/trace.out', 'w'));or it can be set through an environment variable DBIC_TRACE export DBIC_TRACE="1=/tmp/trace.out" Requirements:· Perl �. you can free download DBIxClassQueryProfiler 005 now.
Soft85 only provide legal software, please help us keeping pur site legal, if you think this page is violating copyrights please let us know by clicking here Here






comments powered by Disqus

Download DBIxClassQueryProfiler 005 _FREE_