Class: ActiveReporter::Aggregator::Min

Inherits:
Base
  • Object
show all
Defined in:
lib/active_reporter/aggregator/min.rb

Instance Attribute Summary

Attributes inherited from Base

#name, #opts, #report

Instance Method Summary collapse

Methods inherited from Base

#aggregate, #default_value, #initialize, #sql_value_name

Constructor Details

This class inherits a constructor from ActiveReporter::Aggregator::Base

Instance Method Details

#functionObject



4
5
6
# File 'lib/active_reporter/aggregator/min.rb', line 4

def function
  "MIN(#{expression})"
end