mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
entc/gen: suffix Order and Aggregate with Func (#449)
This commit is contained in:
@@ -15,7 +15,7 @@ in the LICENSE file in the root directory of this source tree.
|
||||
|
||||
{{/* custom signature for group-by function */}}
|
||||
{{ define "dialect/sql/group/signature" -}}
|
||||
type Aggregate func(*sql.Selector) string
|
||||
type AggregateFunc func(*sql.Selector) string
|
||||
{{- end }}
|
||||
|
||||
{{ define "dialect/sql/group/as" -}}
|
||||
|
||||
Reference in New Issue
Block a user