# File lib/tapkit/access/sql.rb, line 682 def sql_for_function( function, column_name ) case function when AggregateSpec::AVG then sql_for_average_function(column_name) when AggregateSpec::MAX then sql_for_max_function(column_name) when AggregateSpec::MIN then sql_for_min_function(column_name) when AggregateSpec::COUNT then sql_for_count_function(column_name) when AggregateSpec::COUNT_ALL then sql_for_count_all_function(column_name) end end