func (m *Sum) FunctionName() string {
	return "sum"
}
FunctionName implements sql.FunctionExpression
package aggregation
import (
	"fmt"
	"github.com/dolthub/go-mysql-server/sql"
	"github.com/dolthub/go-mysql-server/sql/expression"
)
type Sum struct {
	expression.UnaryExpression
}
var _ sql.FunctionExpression = (*Sum)(nil)
var _ sql.Aggregation = (*Sum)(nil)
func NewSum(e sql.Expression) *Sum {
	return &Sum{expression.UnaryExpression{Child: e}}
}