Class: SchemaSherlock::Analyzers::IndexRecommendationDetector

Inherits:
BaseAnalyzer
  • Object
show all
Defined in:
lib/schema_sherlock/analyzers/index_recommendation_detector.rb

Instance Attribute Summary

Attributes inherited from BaseAnalyzer

#model_class, #results

Instance Method Summary collapse

Methods inherited from BaseAnalyzer

#initialize

Constructor Details

This class inherits a constructor from SchemaSherlock::Analyzers::BaseAnalyzer

Instance Method Details

#analyzeObject



7
8
9
10
11
# File 'lib/schema_sherlock/analyzers/index_recommendation_detector.rb', line 7

def analyze
  @results = {
    missing_foreign_key_indexes: find_missing_foreign_key_indexes,
  }
end