query

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: MIT Imports: 5 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 string) 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 string) 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 string) 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 string) string

type Query

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

Jump to

Keyboard shortcuts

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