コード例 #1
0
ファイル: agg_avg_distinct.go プロジェクト: amarantha-k/query
/*
It calls the VisitFunction method by passing in the receiver to
and returns the interface. It is a visitor pattern.
*/
func (this *AvgDistinct) Accept(visitor expression.Visitor) (interface{}, error) {
	return visitor.VisitFunction(this)
}
コード例 #2
0
ファイル: agg_array.go プロジェクト: amarantha-k/query
/*
It calls the VisitFunction method by passing in the receiver to
and returns the interface. It is a visitor pattern.
*/
func (this *ArrayAgg) Accept(visitor expression.Visitor) (interface{}, error) {
	return visitor.VisitFunction(this)
}