Help us shape the future of Go! Take the 2026 Go Developer Survey

query

package
v0.0.98 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type All

type All struct {
	// contains filtered or unexported fields
}

func (*All) Args

func (this *All) Args() []any

func (*All) Construct

func (this *All) Construct(columns []string, table string, filters filter.Filters, pagination pagination.Pagination, order Order) string

type ByIDs

type ByIDs struct {
	IDs []string
	// contains filtered or unexported fields
}

func (*ByIDs) Args

func (this *ByIDs) Args() []any

func (*ByIDs) Construct

func (this *ByIDs) Construct(columns []string, table string, filters filter.Filters, pagination pagination.Pagination, order Order) string

type ByOrg

type ByOrg struct {
	ID string
	// contains filtered or unexported fields
}

func (*ByOrg) Args

func (this *ByOrg) Args() []any

func (*ByOrg) Construct

func (this *ByOrg) Construct(columns []string, table string, filters filter.Filters, pagination pagination.Pagination, order Order) string

type ByUser

type ByUser struct {
	ID string
	// contains filtered or unexported fields
}

func (*ByUser) Args

func (this *ByUser) Args() []any

func (*ByUser) Construct

func (this *ByUser) Construct(columns []string, table string, filters filter.Filters, pagination pagination.Pagination, order Order) string

type Order added in v0.0.21

type Order struct {
	Desc bool
	By   string
}

func (Order) String added in v0.0.21

func (this Order) String(whitelist []string) string

type Query

type Query interface {
	Construct(columns []string, table string, filters filter.Filters, pagination pagination.Pagination, order Order) string
	Args() []any
}

Jump to

Keyboard shortcuts

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