query

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 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{}

func (All) Args

func (All) Args() []any

func (All) Construct

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

type ByEntityID

type ByEntityID struct {
	EntityID string
}

func (ByEntityID) Args

func (this ByEntityID) Args() []any

func (ByEntityID) Construct

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

type ByIDs

type ByIDs struct {
	IDs []string
}

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
}

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
}

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