module Babik::QuerySet::StandardSqlOperation

Mixin that injects the sql_operation method in aggregations with the same SQL syntax independently of the database adapter (SUM, MAX, MIN, etc.)

Public Instance Methods

sql_operation() click to toggle source
# File lib/babik/queryset/components/aggregation.rb, line 96
def sql_operation
  self.class::SQL_OPERATION
end