Class: RuboCop::Cop::Isucon::Sqlite3::JoinWithoutIndex
- Inherits:
-
Base
- Object
- Base
- RuboCop::Cop::Isucon::Sqlite3::JoinWithoutIndex
- Defined in:
- lib/rubocop/cop/isucon/sqlite3/join_without_index.rb
Overview
Note:
If Database
isn't configured, this cop's feature (offense detection and auto-correct) will not be available.
Check for JOIN
without index
Constant Summary collapse
- MSG =
"This join clause doesn't seem to have an index. " \ "(e.g. `CREATE INDEX index_%<table_name>s_%<column_name>s ON %<table_name>s (%<column_name>s)`)"
Constants included from Mixin::Sqlite3ExecuteMethods
Mixin::Sqlite3ExecuteMethods::NON_STRING_WARNING_MSG
Method Summary
Methods included from Mixin::JoinWithoutIndexMethods
Methods included from Mixin::DatabaseMethods
#connection, #enabled_database?, #find_table_name_from_column_name