Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Avg ¶ added in v0.6.1
func Avg(t any) *avg
Aggregate Avg uses database aggregate to get a average on the target.
Example ¶
goe.Select[struct {
Avg float64
}](aggregate.Avg(&db.Exam.Result))...
func Count ¶
func Count(t any) *count
Aggregate Count uses database aggregate to make a count on the target.
Example ¶
goe.Select[struct {
Count count
}](aggregate.Count(&db.Animal.Id))...
func Max ¶ added in v0.6.1
func Max(t any) *max
Aggregate Max uses database aggregate to get the maximum value on the target.
Example ¶
goe.Select[struct {
Max float64
}](aggregate.Max(&db.Exam.Result))...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.