Class: Babik::QuerySet::Min

Inherits:
AbstractAggregationFunction show all
Includes:
StandardSqlOperation
Defined in:
lib/babik/queryset/components/aggregation.rb

Overview

Min operation. Compute the minimum of a set of values.

Constant Summary collapse

SQL_OPERATION =
'MIN(?field)'

Instance Attribute Summary

Attributes inherited from AbstractAggregationFunction

#field_name, #model, #selection

Method Summary

Methods included from StandardSqlOperation

#sql_operation

Methods inherited from AbstractAggregationFunction

db_adapter, #initialize, #left_joins_by_alias, #prepare, #sql

Constructor Details

This class inherits a constructor from Babik::QuerySet::AbstractAggregationFunction