DBIx-AssertIndex
view release on metacpan or search on metacpan
lib/DBIx/AssertIndex.pm view on Meta::CPAN
DBIx::AssertIndex - show error when SQL query doesn't use index.
=head1 SYNOPSIS
use DBIx::AssertIndex;
my $row = $dbh->selectrow_hashref(q{SELECT * FROM some_table WHERE no_indexed_column = 'foo'});
or
> starman -MDBIx::AssertIndex app.psgi
=head1 DESCRIPTION
DBIx::AssertIndex is run explain with SELECT SQL and detect query without any index.
Works only DBD::mysql.
=head1 AUTHOR
daichi hiroki E<lt>daichi.hiroki@mixi.co.jpE<gt>
( run in 0.916 second using v1.01-cache-2.11-cpan-e93a5daba3e )