Sha256: 50efd5d3367031ba7bcbf382ebaabe91da41a6335ab3bf9d4eed2c420dcaad77
Contents?: true
Size: 462 Bytes
Versions: 125
Compression:
Stored size: 462 Bytes
Contents
module Arel module Expressions def count distinct = false Nodes::Count.new [self], distinct end def sum Nodes::Sum.new [self], Nodes::SqlLiteral.new('sum_id') end def maximum Nodes::Max.new [self], Nodes::SqlLiteral.new('max_id') end def minimum Nodes::Min.new [self], Nodes::SqlLiteral.new('min_id') end def average Nodes::Avg.new [self], Nodes::SqlLiteral.new('avg_id') end end end
Version data entries
125 entries across 112 versions & 13 rubygems