-
- Distribution: DBIx-Class
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Clone repository
- Issues (117)
- Testers (1631 / 9 / 0)
- Kwalitee
- % Coverage
- License: perl_5
- Perl: v5.8.1
- Activity
- 24 month
- Tools
- Download (858.77Kb) 0
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- mst: Matt S Trout (project founder - original idea, architecture and implementation)
-
castaway: Jess Robinson (lions share of the reference documentation and manuals)
-
abraxxa: Alexander Hartmaier
-
acca: Alexander Kuznetsov
-
acme: Leon Brocard
- aherzog: Adam Herzog
- Alexander Keusch
-
alexrj: Alessandro Ranellucci
- alnewkirk: Al Newkirk
- Altreus: Alastair McGowan-Douglas
- amiri: Amiri Barksdale
-
amoore: Andrew Moore
- Andrew Mehta
-
andrewalker: Andre Walker
-
andyg: Andy Grundman
-
ank: Andres Kievsky
-
arc: Aaron Crane
-
arcanez: Justin Hunter
-
ash: Ash Berlin
-
bert: Norbert Csongrádi
- bfwg: Colin Newell
-
blblack: Brandon L. Black
-
bluefeet: Aran Deltac
- boghead: Bryan Beeley
-
bphillips: Brian Phillips
- brd: Brad Davis
- Brian Kirkbride
-
bricas: Brian Cassidy
- brunov: Bruno Vecchi
-
caelum: Rafael Kitover
- caldrin: Maik Hentsche
-
chorny: Alexandr Ciornii
-
cj: C.J. Adams-Collier
-
claco: Christopher H. Laco
-
clkao: CL Kao
- Ctrl-O http://ctrlo.com/
-
da5id: David Jack Olrik
-
dams: Damien Krotkine
- dandv: Dan Dascalescu
- dariusj: Darius Jokilehto
- davewood: David Schmidt
-
daxim: Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯
- dduncan: Darren Duncan
-
debolaz: Anders Nor Berle
- dew: Dan Thomas
-
dim0xff: Dmitry Latin
-
dkubb: Dan Kubb
- dnm: Justin Wheeler
- dpetrov: Dimitar Petrov
- Dr^ZigMan: Robert Stone
- dsteinbrunner: David Steinbrunner
- duncan_dmg: Duncan Garland
-
dwc: Daniel Westermann-Clark
- dyfrgi: Michael Leuchtenburg
- edenc: Eden Cardim
- Eligo http://eligo.co.uk/
-
ether: Karen Etheridge
-
evdb: Edmund von der Burg
- faxm0dem: Fabien Wernli
- felliott: Fitz Elliott
- fgabolde: Fabrice Gabolde
- freetime: Bill Moseley
-
frew: Arthur Axel "fREW" Schmidt
-
gbjk: Gareth Kirwan
- geotheve: Georgina Thevenet
-
Getty: Torsten Raudssus
-
goraxe: Gordon Irving
-
gphat: Cory G Watson
- Grant Street Group http://www.grantstreet.com/
-
gregoa: Gregor Herrmann
-
groditi: Guillermo Roditi
-
gshank: Gerda Shank
- guacamole: Fred Steinberg
-
Haarg: Graham Knop
- hobbs: Andrew Rodland
- Ian Wells
- idn: Ian Norton
-
ilmari: Dagfinn Ilmari Mannsåker
- ingy: Ingy döt Net
- initself: Mike Baas
-
ironcamel: Naveed Massjouni
-
jasonmay: Jason May
-
jawnsy: Jonathan Yu
- jegade: Jens Gassmann
-
jeneric: Eric A. Miller
- jesper: Jesper Krogh
-
Jesse Sheidlower
-
jgoulah: John Goulah
-
jguenther: Justin Guenther
- jhannah: Jay Hannah
- jmac: Jason McIntosh
-
jmmills: Jason M. Mills
- jnapiorkowski: John Napiorkowski
- Joe Carlson
-
jon: Jon Schutz
- Jordan Metzmeier
- jshirley: J. Shirley
- kaare: Kaare Rasmussen
-
kd: Kieren Diment
-
kentnl: Kent Fredric
- kkane: Kevin L. Kane
-
konobi: Scott McWhirter
- lejeunerenard: Sean Zellmer
- littlesavage: Alexey Illarionov
- lukes: Luke Saunders
-
marcus: Marcus Ramberg
-
mateu: Mateu X. Hunter
- Matt LeBlanc
- Matt Sickler
- mattlaw: Matt Lawrence
-
mattp: Matt Phillips
- mdk: Mark Keating
-
melo: Pedro Melo
- metaperl: Terrence Brannon
- michaelr: Michael Reddick
- milki: Jonathan Chu
- minty: Murray Walker
-
mithaldu: Christian Walde
- mjemmeson: Michael Jemmeson
- mna: Maya
-
mo: Moritz Onken
-
moltar: Roman Filippov
- moritz: Moritz Lenz
-
mrf: Mike Francis
-
mstratman: Mark A. Stratman
- ned: Neil de Carteret
-
nigel: Nigel Metheringham
-
ningu: David Kamholz
- Nniuq: Ron "Quinn" Straight"
- norbi: Norbert Buchmuller
-
nothingmuch: Yuval Kogman
-
nuba: Nuba Princigalli
-
Numa: Dan Sully
- oalders: Olaf Alders
-
Olly Betts
-
osfameron: Hakim Cassimally
-
ovid: Curtis "Ovid" Poe
- oyse: Øystein Torget
- paulm: Paul Makepeace
- penguin: K J Cheetham
-
perigrin: Chris Prather
- Peter Siklósi
-
Peter Valdemar Mørch
- peter: Peter Collingbourne
- phaylon: Robert Sedlacek
-
plu: Johannes Plunien
- pmooney: Paul Mooney
-
Possum: Daniel LeWarne
- pplu: Jose Luis Martinez
-
quicksilver: Jules Bean
-
racke: Stefan Hornburg
-
rafl: Florian Ragwitz
- rainboxx: Matthias Dietrich
-
rbo: Robert Bohne
- rbuels: Robert Buels
- rdj: Ryan D Johnson
- Relequestual: Ben Hutton
-
renormalist: Steffen Schwigon
-
rjbs: Ricardo Signes
-
Robert Krimen
- Robert Olson
-
robkinyon: Rob Kinyon
-
Roman Ardern-Corris
-
ruoso: Daniel Ruoso
-
Sadrak: Felix Antonius Wilhelm Ostmann
- sc_: Just Another Perl Hacker
-
schwern: Michael G Schwern
- Scott R. Godin
-
scotty: Scotty Allen
-
semifor: Marc Mims
- Simon Elliott
- SineSwiper: Brendan Byrd
- skaufman: Samuel Kaufman
- solomon: Jared Johnson
- spb: Stephen Bennett
-
Squeeks
-
srezic: Slaven Rezic
- sszabo: Stephan Szabo
- Stephen Peters
-
stonecolddevin: Devin Austin
-
talexb: Alex Beamish
-
tamias: Ronald J Kimball
- TBSliver: Tom Bloor
-
teejay: Aaron Trevena
-
theorbtwo: James Mastros
-
Thomas Kratz
- timbunce: Tim Bunce
- tinita: Tina Mueller
- Todd Lipcon
- Tom Hukins
-
tommy: Tommy Butler
-
tonvoon: Ton Voon
-
triode: Pete Gamache
-
typester: Daisuke Murase
- uree: Oriol Soriano
- uwe: Uwe Voelker
-
vanstyn: Henry Van Styn
-
victori: Victor Igumnov
-
wdh: Will Hawes
- wesm: Wes Malone
-
willert: Sebastian Willert
-
wintermute: Toby Corkindale
-
wreis: Wallace Reis
- x86-64
-
xenoterracide: Caleb Cushing
- xmikew: Mike Wisener
-
yrlnry: Mark Jason Dominus
- zamolxes: Bogdan Lucaciu
-
Zefram: Andrew Main
- Dependencies
- Class::Accessor::Grouped
- Class::C3::Componentised
- Class::Inspector
- Config::Any
- Context::Preserve
- Data::Dumper::Concise
- DBI
- Devel::GlobalDestruction
- Hash::Merge
- Module::Find
- Moo
- MRO::Compat
- namespace::clean
- Path::Class
- Scope::Guard
- SQL::Abstract::Classic
- Sub::Name
- Text::Balanced
- Try::Tiny
- CPAN Testers List
- Reverse dependencies
- Dependency graph
NAME
DBIx::Class::Storage::Statistics - SQL Statistics
SYNOPSIS
DESCRIPTION
This class is called by DBIx::Class::Storage::DBI as a means of collecting statistics on its actions. Using this class alone merely prints the SQL executed, the fact that it completes and begin/end notification for transactions.
To really use this class you should subclass it and create your own method for collecting the statistics as discussed in DBIx::Class::Manual::Cookbook.
METHODS
new
Returns a new DBIx::Class::Storage::Statistics object.
debugfh
Sets or retrieves the filehandle used for trace/debug output. This should be an IO::Handle compatible object (only the print method is used). By default it is initially set to STDERR - although see discussion of the DBIC_TRACE environment variable.
Invoked as a getter it will lazily open a filehandle and set it to autoflush (if one is not already set).
Prints the specified string to our debugging filehandle. Provided to save our methods the worry of how to display the message.
silence
Turn off all output if set to true.
txn_begin
Called when a transaction begins.
txn_rollback
Called when a transaction is rolled back.
txn_commit
Called when a transaction is committed.
svp_begin
Called when a savepoint is created.
svp_release
Called when a savepoint is released.
svp_rollback
Called when rolling back to a savepoint.
query_start
Called before a query is executed. The first argument is the SQL string being executed and subsequent arguments are the parameters used for the query.
query_end
Called when a query finishes executing. Has the same arguments as query_start.
FURTHER QUESTIONS?
Check the list of additional DBIC resources.
COPYRIGHT AND LICENSE
This module is free software copyright by the DBIx::Class (DBIC) authors. You can redistribute it and/or modify it under the same terms as the DBIx::Class library.
Module Install Instructions
To install DBIx::Class::Storage::Statistics, copy and paste the appropriate command in to your terminal.
cpanm DBIx::Class
perl -MCPAN -e shell install DBIx::Class
For more information on module installation, please visit the detailed CPAN module installation guide.