mixi, Inc. > DBIx-AssertIndex-0.01 > DBIx::AssertIndex

Download:
DBIx-AssertIndex-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source   Latest Release: DBIx-AssertIndex-0.02

NAME ^

DBIx::AssertIndex - show error when SQL query doesn't use index.

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

DESCRIPTION ^

DBIx::AssertIndex is run explain with SELECT SQL and detect query without any index.

Works only DBD::mysql.

AUTHOR ^

daichi hiroki <daichi.hiroki@mixi.co.jp>

SEE ALSO ^

LICENSE ^

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: