query

package
v0.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Avg added in v0.6.1

type Avg struct {
	Field any
	Value float64
}

func (Avg) Aggregate added in v0.6.1

func (a Avg) Aggregate() enum.AggregateType

func (*Avg) Scan added in v0.6.1

func (a *Avg) Scan(src any) error

type Count

type Count struct {
	Field any
	Value int64
}

func (Count) Aggregate

func (c Count) Aggregate() enum.AggregateType

func (*Count) Scan

func (c *Count) Scan(src any) error

type Function

type Function[T any] struct {
	Field *T
	Type  enum.FunctionType
	Value T
}

func (Function[T]) GetType

func (f Function[T]) GetType() enum.FunctionType

func (Function[T]) GetValue

func (f Function[T]) GetValue() any

func (*Function[T]) Scan

func (f *Function[T]) Scan(src any) error

type Max added in v0.6.1

type Max struct {
	Field any
	Value float64
}

func (Max) Aggregate added in v0.6.1

func (a Max) Aggregate() enum.AggregateType

func (*Max) Scan added in v0.6.1

func (a *Max) Scan(src any) error

type Min added in v0.6.1

type Min struct {
	Field any
	Value float64
}

func (Min) Aggregate added in v0.6.1

func (a Min) Aggregate() enum.AggregateType

func (*Min) Scan added in v0.6.1

func (a *Min) Scan(src any) error

type Sum added in v0.6.1

type Sum struct {
	Field any
	Value float64
}

func (Sum) Aggregate added in v0.6.1

func (a Sum) Aggregate() enum.AggregateType

func (*Sum) Scan added in v0.6.1

func (a *Sum) Scan(src any) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL