提交 5d11fa9f 编写于 作者: A Aaron Patterson

adding sum to sql literal

上级 37620b0c
......@@ -5,6 +5,10 @@ def count distinct = false
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册